Enum ark_api::applet::DetachPlayerTargetType
source · #[non_exhaustive]#[repr(u32)]pub enum DetachPlayerTargetType {
World,
Server,
Player,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl CheckedBitPattern for DetachPlayerTargetType
impl CheckedBitPattern for DetachPlayerTargetType
§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: &<DetachPlayerTargetType as CheckedBitPattern>::Bits
) -> bool
fn is_valid_bit_pattern( bits: &<DetachPlayerTargetType as CheckedBitPattern>::Bits ) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.source§impl Clone for DetachPlayerTargetType
impl Clone for DetachPlayerTargetType
source§fn clone(&self) -> DetachPlayerTargetType
fn clone(&self) -> DetachPlayerTargetType
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 DetachPlayerTargetType
impl Debug for DetachPlayerTargetType
source§impl Hash for DetachPlayerTargetType
impl Hash for DetachPlayerTargetType
source§impl PartialEq<DetachPlayerTargetType> for DetachPlayerTargetType
impl PartialEq<DetachPlayerTargetType> for DetachPlayerTargetType
source§fn eq(&self, other: &DetachPlayerTargetType) -> bool
fn eq(&self, other: &DetachPlayerTargetType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<u32> for DetachPlayerTargetType
impl TryFrom<u32> for DetachPlayerTargetType
impl Copy for DetachPlayerTargetType
impl Eq for DetachPlayerTargetType
impl NoUninit for DetachPlayerTargetType
impl StructuralEq for DetachPlayerTargetType
impl StructuralPartialEq for DetachPlayerTargetType
Auto Trait Implementations§
impl RefUnwindSafe for DetachPlayerTargetType
impl Send for DetachPlayerTargetType
impl Sync for DetachPlayerTargetType
impl Unpin for DetachPlayerTargetType
impl UnwindSafe for DetachPlayerTargetType
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