pub enum LifeFormState {
Null = 0,
UprightStandingStill = 1,
UprightWalking = 2,
UprightRunning = 3,
Kneeling = 4,
Prone = 5,
Crawling = 6,
Swimming = 7,
Parachuting = 8,
Jumping = 9,
}
Expand description
Enum to represent a lifeform’s status.
Variants§
Null = 0
UprightStandingStill = 1
UprightWalking = 2
UprightRunning = 3
Kneeling = 4
Prone = 5
Crawling = 6
Swimming = 7
Parachuting = 8
Jumping = 9
Implementations§
Source§impl LifeFormState
impl LifeFormState
pub fn from_u8(bit: u8) -> LifeFormState
Trait Implementations§
Source§impl Clone for LifeFormState
impl Clone for LifeFormState
Source§fn clone(&self) -> LifeFormState
fn clone(&self) -> LifeFormState
Returns a duplicate 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 LifeFormState
impl Debug for LifeFormState
impl Copy for LifeFormState
Auto Trait Implementations§
impl Freeze for LifeFormState
impl RefUnwindSafe for LifeFormState
impl Send for LifeFormState
impl Sync for LifeFormState
impl Unpin for LifeFormState
impl UnwindSafe for LifeFormState
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