Struct themelios::types::TriggerFlags
source · #[repr(transparent)]pub struct TriggerFlags(pub u16);Tuple Fields§
§0: u16Trait Implementations§
source§impl Clone for TriggerFlags
impl Clone for TriggerFlags
source§fn clone(&self) -> TriggerFlags
fn clone(&self) -> TriggerFlags
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 TriggerFlags
impl Debug for TriggerFlags
source§impl From<u16> for TriggerFlags
impl From<u16> for TriggerFlags
source§fn from(v: u16) -> TriggerFlags
fn from(v: u16) -> TriggerFlags
Converts to this type from the input type.
source§impl Hash for TriggerFlags
impl Hash for TriggerFlags
source§impl Ord for TriggerFlags
impl Ord for TriggerFlags
source§fn cmp(&self, other: &TriggerFlags) -> Ordering
fn cmp(&self, other: &TriggerFlags) -> 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<TriggerFlags> for TriggerFlags
impl PartialEq<TriggerFlags> for TriggerFlags
source§fn eq(&self, other: &TriggerFlags) -> bool
fn eq(&self, other: &TriggerFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TriggerFlags> for TriggerFlags
impl PartialOrd<TriggerFlags> for TriggerFlags
source§fn partial_cmp(&self, other: &TriggerFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &TriggerFlags) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for TriggerFlags
impl Eq for TriggerFlags
impl StructuralEq for TriggerFlags
impl StructuralPartialEq for TriggerFlags
Auto Trait Implementations§
impl RefUnwindSafe for TriggerFlags
impl Send for TriggerFlags
impl Sync for TriggerFlags
impl Unpin for TriggerFlags
impl UnwindSafe for TriggerFlags
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