Struct entmet_lib::entities::entity::AgeableMob
source · pub struct AgeableMob {
pub is_baby: bool,
/* private fields */
}Expand description
An interface of a mab that can age
Fields§
§is_baby: boolWhether it is a baby or not
Trait Implementations§
source§impl Clone for AgeableMob
impl Clone for AgeableMob
source§fn clone(&self) -> AgeableMob
fn clone(&self) -> AgeableMob
Returns a copy 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 AgeableMob
impl Debug for AgeableMob
source§impl Default for AgeableMob
impl Default for AgeableMob
source§fn default() -> AgeableMob
fn default() -> AgeableMob
Returns the “default value” for a type. Read more
source§impl Deref for AgeableMob
impl Deref for AgeableMob
source§impl DerefMut for AgeableMob
impl DerefMut for AgeableMob
source§impl PartialEq for AgeableMob
impl PartialEq for AgeableMob
source§fn eq(&self, other: &AgeableMob) -> bool
fn eq(&self, other: &AgeableMob) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AgeableMob
Auto Trait Implementations§
impl Freeze for AgeableMob
impl RefUnwindSafe for AgeableMob
impl Send for AgeableMob
impl Sync for AgeableMob
impl Unpin for AgeableMob
impl UnwindSafe for AgeableMob
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