#[repr(u32)]pub enum CastingSource {
LeftHand = 0,
RightHand = 1,
Other = 2,
Instant = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for CastingSource
impl Clone for CastingSource
Source§fn clone(&self) -> CastingSource
fn clone(&self) -> CastingSource
Returns a copy 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 CastingSource
impl Debug for CastingSource
Source§impl From<CastingSource> for CastingSource_CEnum
impl From<CastingSource> for CastingSource_CEnum
Source§fn from(value: CastingSource) -> Self
fn from(value: CastingSource) -> Self
Converts to this type from the input type.
Source§impl Hash for CastingSource
impl Hash for CastingSource
Source§impl Ord for CastingSource
impl Ord for CastingSource
Source§fn cmp(&self, other: &CastingSource) -> Ordering
fn cmp(&self, other: &CastingSource) -> 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 CastingSource
impl PartialEq for CastingSource
Source§impl PartialOrd for CastingSource
impl PartialOrd for CastingSource
Source§impl TryFrom<CastingSource_CEnum> for CastingSource
impl TryFrom<CastingSource_CEnum> for CastingSource
impl Copy for CastingSource
impl Eq for CastingSource
impl StructuralPartialEq for CastingSource
Auto Trait Implementations§
impl Freeze for CastingSource
impl RefUnwindSafe for CastingSource
impl Send for CastingSource
impl Sync for CastingSource
impl Unpin for CastingSource
impl UnwindSafe for CastingSource
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