pub struct RotationMode(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl RotationMode
impl RotationMode
pub const NONE: RotationMode
pub const Y: RotationMode
pub const XY: RotationMode
pub const XYZ: RotationMode
pub const ORIENTED: RotationMode
Trait Implementations§
Source§impl Clone for RotationMode
impl Clone for RotationMode
Source§fn clone(&self) -> RotationMode
fn clone(&self) -> RotationMode
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 RotationMode
impl Debug for RotationMode
Source§impl From<RotationMode> for i64
impl From<RotationMode> for i64
Source§fn from(v: RotationMode) -> Self
fn from(v: RotationMode) -> Self
Converts to this type from the input type.
Source§impl From<i64> for RotationMode
impl From<i64> for RotationMode
Source§impl FromVariant for RotationMode
impl FromVariant for RotationMode
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for RotationMode
impl Hash for RotationMode
Source§impl Ord for RotationMode
impl Ord for RotationMode
Source§fn cmp(&self, other: &RotationMode) -> Ordering
fn cmp(&self, other: &RotationMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RotationMode
impl PartialEq for RotationMode
Source§impl PartialOrd for RotationMode
impl PartialOrd for RotationMode
impl Copy for RotationMode
impl Eq for RotationMode
impl StructuralPartialEq for RotationMode
Auto Trait Implementations§
impl Freeze for RotationMode
impl RefUnwindSafe for RotationMode
impl Send for RotationMode
impl Sync for RotationMode
impl Unpin for RotationMode
impl UnwindSafe for RotationMode
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.