pub enum SpzGaussianRotation {
QuatFirstThree([u8; 3]),
QuatSmallestThree([u8; 4]),
}Expand description
A single SPZ Gaussian rotation field.
Variants§
QuatFirstThree([u8; 3])
(x, y, z) each as 8-bit signed integer.
QuatSmallestThree([u8; 4])
Smallest 3 components each as 10-bit signed integer. 2 bits for index of omitted component.
Trait Implementations§
Source§impl Clone for SpzGaussianRotation
impl Clone for SpzGaussianRotation
Source§fn clone(&self) -> SpzGaussianRotation
fn clone(&self) -> SpzGaussianRotation
Returns a duplicate 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 SpzGaussianRotation
impl Debug for SpzGaussianRotation
Source§impl FromIterator<SpzGaussianRotation> for Result<SpzGaussiansRotations, SpzGaussiansCollectError<SpzGaussianRotation>>
impl FromIterator<SpzGaussianRotation> for Result<SpzGaussiansRotations, SpzGaussiansCollectError<SpzGaussianRotation>>
Source§fn from_iter<I: IntoIterator<Item = SpzGaussianRotation>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = SpzGaussianRotation>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for SpzGaussianRotation
impl PartialEq for SpzGaussianRotation
impl StructuralPartialEq for SpzGaussianRotation
Auto Trait Implementations§
impl Freeze for SpzGaussianRotation
impl RefUnwindSafe for SpzGaussianRotation
impl Send for SpzGaussianRotation
impl Sync for SpzGaussianRotation
impl Unpin for SpzGaussianRotation
impl UnwindSafe for SpzGaussianRotation
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