Struct entmet_lib::entities::entity::BasePiglin
source · pub struct BasePiglin {
pub immune_to_zombification: bool,
/* private fields */
}Expand description
An interface of a piglin
Fields§
§immune_to_zombification: boolWhether it is immune to zombification or not
Trait Implementations§
source§impl Default for BasePiglin
impl Default for BasePiglin
source§fn default() -> BasePiglin
fn default() -> BasePiglin
Returns the “default value” for a type. Read more
source§impl Deref for BasePiglin
impl Deref for BasePiglin
Auto Trait Implementations§
impl Freeze for BasePiglin
impl RefUnwindSafe for BasePiglin
impl Send for BasePiglin
impl Sync for BasePiglin
impl Unpin for BasePiglin
impl UnwindSafe for BasePiglin
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