Struct entmet_lib::entities::entity::ChestedHorse
source · pub struct ChestedHorse {
pub chest: bool,
/* private fields */
}Expand description
An interface for a rideable animal that is able to carry a chest
Fields§
§chest: boolWhether it has a chest or not
Trait Implementations§
source§impl Default for ChestedHorse
impl Default for ChestedHorse
source§fn default() -> ChestedHorse
fn default() -> ChestedHorse
Returns the “default value” for a type. Read more
source§impl Deref for ChestedHorse
impl Deref for ChestedHorse
source§impl DerefMut for ChestedHorse
impl DerefMut for ChestedHorse
source§impl PartialEq for ChestedHorse
impl PartialEq for ChestedHorse
source§fn eq(&self, other: &ChestedHorse) -> bool
fn eq(&self, other: &ChestedHorse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ChestedHorse
Auto Trait Implementations§
impl Freeze for ChestedHorse
impl RefUnwindSafe for ChestedHorse
impl Send for ChestedHorse
impl Sync for ChestedHorse
impl Unpin for ChestedHorse
impl UnwindSafe for ChestedHorse
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