#[repr(u8)]pub enum EntityPose {
Show 18 variants
Standing = 0,
FallFlying = 1,
Sleeping = 2,
Swimming = 3,
SpinAttack = 4,
Sneaking = 5,
LongJumping = 6,
Dying = 7,
Croaking = 8,
UsingTongue = 9,
Sitting = 10,
Roaring = 11,
Sniffing = 12,
Emerging = 13,
Digging = 14,
Sliding = 15,
Shooting = 16,
Inhaling = 17,
}Expand description
Entity pose states.
Variants§
Standing = 0
FallFlying = 1
Sleeping = 2
Swimming = 3
SpinAttack = 4
Sneaking = 5
LongJumping = 6
Dying = 7
Croaking = 8
UsingTongue = 9
Sitting = 10
Roaring = 11
Sniffing = 12
Emerging = 13
Digging = 14
Sliding = 15
Shooting = 16
Inhaling = 17
Trait Implementations§
Source§impl Clone for EntityPose
impl Clone for EntityPose
Source§fn clone(&self) -> EntityPose
fn clone(&self) -> EntityPose
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EntityPose
Source§impl Debug for EntityPose
impl Debug for EntityPose
Source§impl Default for EntityPose
impl Default for EntityPose
Source§fn default() -> EntityPose
fn default() -> EntityPose
Returns the “default value” for a type. Read more
impl Eq for EntityPose
Source§impl FromStr for EntityPose
impl FromStr for EntityPose
Source§impl Hash for EntityPose
impl Hash for EntityPose
Source§impl PartialEq for EntityPose
impl PartialEq for EntityPose
Source§fn eq(&self, other: &EntityPose) -> bool
fn eq(&self, other: &EntityPose) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EntityPose
Auto Trait Implementations§
impl Freeze for EntityPose
impl RefUnwindSafe for EntityPose
impl Send for EntityPose
impl Sync for EntityPose
impl Unpin for EntityPose
impl UnsafeUnpin for EntityPose
impl UnwindSafe for EntityPose
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.