pub struct EntityRefFlags {
pub is_on_fire: bool,
pub is_sneaking: bool,
pub is_sprinting: bool,
pub is_swimming: bool,
pub is_baby: bool,
}Expand description
Entity flags for predicate checking.
Fields§
§is_on_fire: bool§is_sneaking: bool§is_sprinting: bool§is_swimming: bool§is_baby: boolTrait Implementations§
Source§impl Clone for EntityRefFlags
impl Clone for EntityRefFlags
Source§fn clone(&self) -> EntityRefFlags
fn clone(&self) -> EntityRefFlags
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 EntityRefFlags
Source§impl Debug for EntityRefFlags
impl Debug for EntityRefFlags
Source§impl Default for EntityRefFlags
impl Default for EntityRefFlags
Source§fn default() -> EntityRefFlags
fn default() -> EntityRefFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntityRefFlags
impl RefUnwindSafe for EntityRefFlags
impl Send for EntityRefFlags
impl Sync for EntityRefFlags
impl Unpin for EntityRefFlags
impl UnsafeUnpin for EntityRefFlags
impl UnwindSafe for EntityRefFlags
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