Struct entmet_lib::entities::entity::Axolotl
source · pub struct Axolotl {
pub variant: AxolotlVariant,
pub is_playing_dead: bool,
pub spawned_from_bucket: bool,
/* private fields */
}Expand description
An instance of an axolotl
Fields§
§variant: AxolotlVariantThe variant of the axolotl
is_playing_dead: boolWhether it is playing dead or not
spawned_from_bucket: boolWhether it is spawned from a fucket or not
Trait Implementations§
source§impl PartialEq for Axolotl
impl PartialEq for Axolotl
impl StructuralPartialEq for Axolotl
Auto Trait Implementations§
impl Freeze for Axolotl
impl RefUnwindSafe for Axolotl
impl Send for Axolotl
impl Sync for Axolotl
impl Unpin for Axolotl
impl UnwindSafe for Axolotl
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