#[repr(u8)]pub enum TranslationDirection {
Downward = 0,
Upward = 1,
Verticalmask = 2,
Verticalsymmetry = 3,
Leftward = 4,
Rightward = 5,
Horizontalmask = 6,
Horizontalsymmetry = 7,
Forward = 8,
Backward = 9,
Depthmask = 10,
Depthsymmetry = 11,
}Variants§
Downward = 0
Downward translation
Upward = 1
Upward translation
Verticalmask = 2
Vertical mask translation
Verticalsymmetry = 3
Vertical symmetry translation
Leftward = 4
Leftward translation
Rightward = 5
Rightward translation
Horizontalmask = 6
Horizontal mask translation
Horizontalsymmetry = 7
Horizontal symmetry translation
Forward = 8
Forward translation
Backward = 9
Backward translation
Depthmask = 10
Depth mask translation
Depthsymmetry = 11
Depth symmetry translation
Implementations§
Trait Implementations§
Source§impl Clone for TranslationDirection
impl Clone for TranslationDirection
Source§fn clone(&self) -> TranslationDirection
fn clone(&self) -> TranslationDirection
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 TranslationDirection
impl Debug for TranslationDirection
Source§impl<'de> Deserialize<'de> for TranslationDirection
impl<'de> Deserialize<'de> for TranslationDirection
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 From<TranslationDirection> for u8
impl From<TranslationDirection> for u8
Source§fn from(val: TranslationDirection) -> Self
fn from(val: TranslationDirection) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TranslationDirection
impl PartialEq for TranslationDirection
Source§impl Serialize for TranslationDirection
impl Serialize for TranslationDirection
impl Copy for TranslationDirection
impl Eq for TranslationDirection
impl StructuralPartialEq for TranslationDirection
Auto Trait Implementations§
impl Freeze for TranslationDirection
impl RefUnwindSafe for TranslationDirection
impl Send for TranslationDirection
impl Sync for TranslationDirection
impl Unpin for TranslationDirection
impl UnwindSafe for TranslationDirection
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