Struct entmet_lib::entities::entity::TameableAnimal
source · pub struct TameableAnimal {
pub sitting: bool,
pub tamed: bool,
pub owner: Option<u128>,
/* private fields */
}Expand description
An interface of a tameable amimal
Fields§
§sitting: boolWhether it is sitting or not
tamed: boolWhether it is sitting or not
owner: Option<u128>The uuid of the owner, if it has one
Trait Implementations§
source§impl Default for TameableAnimal
impl Default for TameableAnimal
source§fn default() -> TameableAnimal
fn default() -> TameableAnimal
Returns the “default value” for a type. Read more
source§impl Deref for TameableAnimal
impl Deref for TameableAnimal
source§impl DerefMut for TameableAnimal
impl DerefMut for TameableAnimal
source§impl PartialEq for TameableAnimal
impl PartialEq for TameableAnimal
source§fn eq(&self, other: &TameableAnimal) -> bool
fn eq(&self, other: &TameableAnimal) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TameableAnimal
Auto Trait Implementations§
impl Freeze for TameableAnimal
impl RefUnwindSafe for TameableAnimal
impl Send for TameableAnimal
impl Sync for TameableAnimal
impl Unpin for TameableAnimal
impl UnwindSafe for TameableAnimal
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