Struct entmet_lib::entities::entity::Pig
source · pub struct Pig {
pub saddle: bool,
pub total_boost_time: i32,
/* private fields */
}Expand description
An instance of a pig
Fields§
§saddle: boolwhether it has a saddle or not
total_boost_time: i32the time until the boost runs out
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pig
impl RefUnwindSafe for Pig
impl Send for Pig
impl Sync for Pig
impl Unpin for Pig
impl UnwindSafe for Pig
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