Enum ark_api::world::TriggerEvent
source · #[repr(u32)]pub enum TriggerEvent {
Enter,
Leave,
}Variants§
Trait Implementations§
source§impl CheckedBitPattern for TriggerEvent
impl CheckedBitPattern for TriggerEvent
§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: &<TriggerEvent as CheckedBitPattern>::Bits
) -> bool
fn is_valid_bit_pattern( bits: &<TriggerEvent as CheckedBitPattern>::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 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 TriggerEvent
impl Debug for TriggerEvent
source§impl Hash for TriggerEvent
impl Hash for TriggerEvent
source§impl PartialEq<TriggerEvent> for TriggerEvent
impl PartialEq<TriggerEvent> for TriggerEvent
source§fn eq(&self, other: &TriggerEvent) -> bool
fn eq(&self, other: &TriggerEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TriggerEvent
impl Eq for TriggerEvent
impl NoUninit for TriggerEvent
impl StructuralEq for TriggerEvent
impl StructuralPartialEq for TriggerEvent
Auto Trait Implementations§
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