Struct entmet_lib::entities::entity::Dolphin
source · pub struct Dolphin {
pub treasure_position: (u32, u32, u16),
pub has_fish: bool,
pub moisture_level: i32,
/* private fields */
}Expand description
An instance of a dolphin
Fields§
§treasure_position: (u32, u32, u16)The position of its treasure
has_fish: boolWhether it has a fish or not
moisture_level: i32The moisture level of the dolphin
Trait Implementations§
source§impl PartialEq for Dolphin
impl PartialEq for Dolphin
impl StructuralPartialEq for Dolphin
Auto Trait Implementations§
impl Freeze for Dolphin
impl RefUnwindSafe for Dolphin
impl Send for Dolphin
impl Sync for Dolphin
impl Unpin for Dolphin
impl UnwindSafe for Dolphin
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