Struct entmet_lib::entities::entity::AbstractFish
source · pub struct AbstractFish {
pub from_bucket: bool,
/* private fields */
}Expand description
An interface of a fish
Fields§
§from_bucket: boolwhether the fish is from a bucket or not
Trait Implementations§
source§impl Default for AbstractFish
impl Default for AbstractFish
source§impl Deref for AbstractFish
impl Deref for AbstractFish
source§impl DerefMut for AbstractFish
impl DerefMut for AbstractFish
source§impl PartialEq for AbstractFish
impl PartialEq for AbstractFish
source§fn eq(&self, other: &AbstractFish) -> bool
fn eq(&self, other: &AbstractFish) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AbstractFish
Auto Trait Implementations§
impl Freeze for AbstractFish
impl RefUnwindSafe for AbstractFish
impl Send for AbstractFish
impl Sync for AbstractFish
impl Unpin for AbstractFish
impl UnwindSafe for AbstractFish
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