pub struct Mtrix {
pub serial: u32,
pub rotation: [[f64; 3]; 3],
pub translation: [f64; 3],
pub given: bool,
}Expand description
One non-crystallographic operator, from MTRIX1..3.
Fields§
§serial: u32Operator serial number.
rotation: [[f64; 3]; 3]Row-major rotation.
translation: [f64; 3]Translation in ångström.
given: boolWhether the transformed copy is already present in the coordinates.
Trait Implementations§
impl StructuralPartialEq for Mtrix
Auto Trait Implementations§
impl Freeze for Mtrix
impl RefUnwindSafe for Mtrix
impl Send for Mtrix
impl Sync for Mtrix
impl Unpin for Mtrix
impl UnsafeUnpin for Mtrix
impl UnwindSafe for Mtrix
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§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