pub struct Fishing {
pub registered: bool,
pub water: f32,
}Expand description
FishingComponent registered on the map, the water fraction.
Fields§
§registered: boolWhether it is registered on the map.
water: f32The share of water around it.
Trait Implementations§
impl Copy for Fishing
impl StructuralPartialEq for Fishing
Auto Trait Implementations§
impl Freeze for Fishing
impl RefUnwindSafe for Fishing
impl Send for Fishing
impl Sync for Fishing
impl Unpin for Fishing
impl UnsafeUnpin for Fishing
impl UnwindSafe for Fishing
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