Struct entmet_lib::entities::entity::Piglin
source · pub struct Piglin {
pub baby: bool,
pub charging_crossbow: bool,
pub dancing: bool,
/* private fields */
}Expand description
An instance of a piglin
Fields§
§baby: boolWhether it is a baby or not
charging_crossbow: boolWhether it is charging its crossbow or not
dancing: boolWhether it is dancing or not
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Piglin
impl RefUnwindSafe for Piglin
impl Send for Piglin
impl Sync for Piglin
impl Unpin for Piglin
impl UnwindSafe for Piglin
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