Struct entmet_lib::entities::entity::Goat
source · pub struct Goat {
pub screaming: bool,
pub left_horn: bool,
pub right_horn: bool,
/* private fields */
}Expand description
An instance of a goat
Fields§
§screaming: boolWhether it is screaming or not
left_horn: boolWhether it has its left horn or not
right_horn: boolWhether it has its right horn or not
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Goat
impl RefUnwindSafe for Goat
impl Send for Goat
impl Sync for Goat
impl Unpin for Goat
impl UnwindSafe for Goat
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