Enum ark_api::world::TriggerEvent
source · [−]#[repr(u32)]
pub enum TriggerEvent {
Enter,
Leave,
}
Variants
Enter
Leave
Trait Implementations
sourceimpl 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
. Read more
sourcefn 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
. Read more
sourceimpl Clone for TriggerEvent
impl Clone for TriggerEvent
sourcefn clone(&self) -> TriggerEvent
fn clone(&self) -> TriggerEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TriggerEvent
impl Debug for TriggerEvent
sourceimpl Hash for TriggerEvent
impl Hash for TriggerEvent
sourceimpl PartialEq<TriggerEvent> for TriggerEvent
impl PartialEq<TriggerEvent> for TriggerEvent
sourcefn 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 ==
. Read more
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more