pub struct SceneView {
pub rotation_matrix: [[f64; 4]; 4],
pub position: [f64; 3],
pub origin: [f64; 3],
pub front_plane: f64,
pub rear_plane: f64,
pub orthoscopic_flag: f64,
}
Expand description
pymol view of 25 floats is likely to be from the SceneGetView
/** Get information required to define the geometry of a particular view, for shipping to and from python as a list of floats @verbatim 0-15 = 4x4 rotation matrix 16-18 = position 19-21 = origin 22 = front plane 23 = rear plane 24 = orthoscopic flag @endverbatim @param[out] view buffer to fill */
Fields§
§rotation_matrix: [[f64; 4]; 4]
§position: [f64; 3]
§origin: [f64; 3]
§front_plane: f64
§rear_plane: f64
§orthoscopic_flag: f64
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SceneView
impl<'de> Deserialize<'de> for SceneView
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 SceneView
impl RefUnwindSafe for SceneView
impl Send for SceneView
impl Sync for SceneView
impl Unpin for SceneView
impl UnwindSafe for SceneView
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