Struct entmet_lib::entities::entity::PufferFish
source · pub struct PufferFish {
pub puff_state: i32,
/* private fields */
}Expand description
An instance of a Puffer fish
Fields§
§puff_state: i32The state of the puffer fish, ranging from 0 to 2
Trait Implementations§
source§impl Default for PufferFish
impl Default for PufferFish
source§fn default() -> PufferFish
fn default() -> PufferFish
Returns the “default value” for a type. Read more
source§impl Deref for PufferFish
impl Deref for PufferFish
Auto Trait Implementations§
impl Freeze for PufferFish
impl RefUnwindSafe for PufferFish
impl Send for PufferFish
impl Sync for PufferFish
impl Unpin for PufferFish
impl UnwindSafe for PufferFish
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