pub struct EntityFlags {
pub is_on_fire: Option<bool>,
pub is_sneaking: Option<bool>,
pub is_sprinting: Option<bool>,
pub is_swimming: Option<bool>,
pub is_baby: Option<bool>,
}Expand description
Entity flags (is_on_fire, is_sneaking, etc.)
Fields§
§is_on_fire: Option<bool>§is_sneaking: Option<bool>§is_sprinting: Option<bool>§is_swimming: Option<bool>§is_baby: Option<bool>Trait Implementations§
Source§impl Clone for EntityFlags
impl Clone for EntityFlags
Source§fn clone(&self) -> EntityFlags
fn clone(&self) -> EntityFlags
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 moreAuto Trait Implementations§
impl Freeze for EntityFlags
impl RefUnwindSafe for EntityFlags
impl Send for EntityFlags
impl Sync for EntityFlags
impl Unpin for EntityFlags
impl UnsafeUnpin for EntityFlags
impl UnwindSafe for EntityFlags
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