Struct entmet_lib::entities::entity::Sheep
source · pub struct Sheep {
pub variant: SheepColorVariant,
pub sheard: bool,
/* private fields */
}Expand description
An instance of a sheep
Fields§
§variant: SheepColorVariantThe variant of the sheep
sheard: boolWhether the sheep is sheard or not
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sheep
impl RefUnwindSafe for Sheep
impl Send for Sheep
impl Sync for Sheep
impl Unpin for Sheep
impl UnwindSafe for Sheep
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