Struct entmet_lib::entities::entity::Cat
source · pub struct Cat {
pub variant: CatVariant,
pub lying: bool,
pub relaxed: bool,
pub collar_color: Color,
/* private fields */
}Expand description
An instance of a cat
Fields§
§variant: CatVariantThe variant of the cat
lying: boolWhether it is lying or not
relaxed: boolWhether it is reaxed or not
collar_color: ColorThe collor of its collar
Trait Implementations§
impl StructuralPartialEq for Cat
Auto Trait Implementations§
impl Freeze for Cat
impl RefUnwindSafe for Cat
impl Send for Cat
impl Sync for Cat
impl Unpin for Cat
impl UnwindSafe for Cat
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