Struct entmet_lib::entities::entity::AbstractHorse
source · pub struct AbstractHorse {
pub info: Mask<HorseInfo>,
/* private fields */
}Expand description
An interface of a horse
Fields§
§info: Mask<HorseInfo>A mask of all options that can be toggled of a horse
Trait Implementations§
source§impl Default for AbstractHorse
impl Default for AbstractHorse
source§fn default() -> AbstractHorse
fn default() -> AbstractHorse
Returns the “default value” for a type. Read more
source§impl Deref for AbstractHorse
impl Deref for AbstractHorse
source§impl DerefMut for AbstractHorse
impl DerefMut for AbstractHorse
source§impl PartialEq for AbstractHorse
impl PartialEq for AbstractHorse
source§fn eq(&self, other: &AbstractHorse) -> bool
fn eq(&self, other: &AbstractHorse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AbstractHorse
Auto Trait Implementations§
impl Freeze for AbstractHorse
impl RefUnwindSafe for AbstractHorse
impl Send for AbstractHorse
impl Sync for AbstractHorse
impl Unpin for AbstractHorse
impl UnwindSafe for AbstractHorse
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