#[non_exhaustive]pub enum EntityAction {
StartSneaking,
StopSneaking,
StartSprinting,
StopSprinting,
}Expand description
Sneak / sprint entity_action values.
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.
StartSneaking
Start sneaking.
StopSneaking
Stop sneaking.
StartSprinting
Start sprinting.
StopSprinting
Stop sprinting.
Trait Implementations§
Source§impl Clone for EntityAction
impl Clone for EntityAction
impl Copy for EntityAction
Source§impl Debug for EntityAction
impl Debug for EntityAction
impl Eq for EntityAction
Source§impl Hash for EntityAction
impl Hash for EntityAction
Source§impl PartialEq for EntityAction
impl PartialEq for EntityAction
impl StructuralPartialEq for EntityAction
Auto Trait Implementations§
impl Freeze for EntityAction
impl RefUnwindSafe for EntityAction
impl Send for EntityAction
impl Sync for EntityAction
impl Unpin for EntityAction
impl UnsafeUnpin for EntityAction
impl UnwindSafe for EntityAction
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