Struct entmet_lib::entities::entity::Boat
source · pub struct Boat {
pub wood_type: BoatWoodType,
pub left_paddle_turning: bool,
pub right_paddle_turning: bool,
pub splash_timer: i32,
/* private fields */
}Expand description
An instance of a boat
Fields§
§wood_type: BoatWoodTypeThe wood type of the boat
left_paddle_turning: boolWhether the left paddle is turning or not
right_paddle_turning: boolWhether the right paddle is turning or not
splash_timer: i32The splash timer
Trait Implementations§
source§impl PartialEq for Boat
impl PartialEq for Boat
impl StructuralPartialEq for Boat
Auto Trait Implementations§
impl Freeze for Boat
impl RefUnwindSafe for Boat
impl Send for Boat
impl Sync for Boat
impl Unpin for Boat
impl UnwindSafe for Boat
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