#[repr(i32)]pub enum ObjectType {
Show 14 variants
CObjectMolecule = 1,
CObjectMap = 2,
CObjectMesh = 3,
CObjectMeasurement = 4,
CObjectCallback = 5,
CObjectCGO = 6,
CObjectSurface = 7,
CObjectGadget = 8,
CObjectCalculator = 9,
CObjectSlice = 10,
CObjectAlignment = 11,
CObjectGroup = 12,
CObjectVolume = 13,
CObjectCurve = 14,
}
Expand description
Pymol Object Types
Variants§
CObjectMolecule = 1
CObjectMap = 2
CObjectMesh = 3
CObjectMeasurement = 4
CObjectCallback = 5
CObjectCGO = 6
CObjectSurface = 7
CObjectGadget = 8
CObjectCalculator = 9
CObjectSlice = 10
CObjectAlignment = 11
CObjectGroup = 12
CObjectVolume = 13
CObjectCurve = 14
Trait Implementations§
source§impl Clone for ObjectType
impl Clone for ObjectType
source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ObjectType
impl Debug for ObjectType
source§impl<'de> Deserialize<'de> for ObjectType
impl<'de> Deserialize<'de> for ObjectType
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
source§impl Serialize for ObjectType
impl Serialize for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more