Struct entmet_lib::entities::entity::Llama
source · pub struct Llama {
pub strength: i32,
pub carpet_color: Option<Color>,
pub variant: LlamaVariant,
/* private fields */
}Expand description
An instance of a llama
Fields§
§strength: i32The strength of the llama
carpet_color: Option<Color>The color of the carpet, None (-1) if it has no carpet
variant: LlamaVariantThe variant of the llama
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Llama
impl RefUnwindSafe for Llama
impl Send for Llama
impl Sync for Llama
impl Unpin for Llama
impl UnwindSafe for Llama
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