#[repr(u32)]pub enum TriggerEvent {
Enter = 0,
Leave = 1,
}
Variants§
Trait Implementations§
Source§impl CheckedBitPattern for TriggerEvent
impl CheckedBitPattern for TriggerEvent
Source§type Bits = u32
type Bits = u32
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
fn is_valid_bit_pattern(bits: &Self::Bits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.Source§impl Clone for TriggerEvent
impl Clone for TriggerEvent
Source§fn clone(&self) -> TriggerEvent
fn clone(&self) -> TriggerEvent
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 TriggerEvent
impl Debug for TriggerEvent
Source§impl Hash for TriggerEvent
impl Hash for TriggerEvent
Source§impl PartialEq for TriggerEvent
impl PartialEq for TriggerEvent
impl Copy for TriggerEvent
impl Eq for TriggerEvent
impl NoUninit for TriggerEvent
impl StructuralPartialEq for TriggerEvent
Auto Trait Implementations§
impl Freeze for TriggerEvent
impl RefUnwindSafe for TriggerEvent
impl Send for TriggerEvent
impl Sync for TriggerEvent
impl Unpin for TriggerEvent
impl UnwindSafe for TriggerEvent
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