#[repr(u8)]pub enum ArmadilloState {
Idle = 0,
RollingUp = 1,
Rolled = 2,
Unrolling = 3,
Scared = 4,
}Expand description
Armadillo entity state.
Variants§
Trait Implementations§
Source§impl Clone for ArmadilloState
impl Clone for ArmadilloState
Source§fn clone(&self) -> ArmadilloState
fn clone(&self) -> ArmadilloState
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 ArmadilloState
Source§impl Debug for ArmadilloState
impl Debug for ArmadilloState
Source§impl Default for ArmadilloState
impl Default for ArmadilloState
Source§fn default() -> ArmadilloState
fn default() -> ArmadilloState
Returns the “default value” for a type. Read more
impl Eq for ArmadilloState
Source§impl Hash for ArmadilloState
impl Hash for ArmadilloState
Source§impl PartialEq for ArmadilloState
impl PartialEq for ArmadilloState
Source§fn eq(&self, other: &ArmadilloState) -> bool
fn eq(&self, other: &ArmadilloState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArmadilloState
Auto Trait Implementations§
impl Freeze for ArmadilloState
impl RefUnwindSafe for ArmadilloState
impl Send for ArmadilloState
impl Sync for ArmadilloState
impl Unpin for ArmadilloState
impl UnsafeUnpin for ArmadilloState
impl UnwindSafe for ArmadilloState
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.