Struct ferritin_pymol::pymolparsing::parsing::PyObject
source · pub struct PyObject {Show 14 fields
pub object_type: ObjectType,
pub name: String,
pub color: i32,
pub vis_rep: RepBitmask,
pub extent_min: [f32; 3],
pub extent_max: [f32; 3],
pub extent_flag: i32,
pub ttt_flag: i32,
pub setting: Option<bool>,
pub enabled: i32,
pub render_context: i32,
pub ttt: [f32; 16],
pub n_frame: i32,
pub view_elem: Option<bool>,
}
Expand description
Fields§
§object_type: ObjectType
§name: String
§color: i32
§vis_rep: RepBitmask
§extent_min: [f32; 3]
§extent_max: [f32; 3]
§extent_flag: i32
§ttt_flag: i32
§setting: Option<bool>
§enabled: i32
§render_context: i32
§ttt: [f32; 16]
§n_frame: i32
§view_elem: Option<bool>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for PyObject
impl<'de> Deserialize<'de> for PyObject
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
Auto Trait Implementations§
impl Freeze for PyObject
impl RefUnwindSafe for PyObject
impl Send for PyObject
impl Sync for PyObject
impl Unpin for PyObject
impl UnwindSafe for PyObject
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> 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