pub struct AnimalKind {
pub desc: AnimalDescription,
pub materials: Vec<usize>,
pub character: CharacterDescription,
}Expand description
The settings of a kind of animal.
Fields§
§desc: AnimalDescriptionThe animal description.
materials: Vec<usize>The raw-material (pile) templates a hunted animal leaves.
character: CharacterDescriptionThe character description: speeds and turning.
Trait Implementations§
Source§impl Clone for AnimalKind
impl Clone for AnimalKind
Source§fn clone(&self) -> AnimalKind
fn clone(&self) -> AnimalKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnimalKind
impl RefUnwindSafe for AnimalKind
impl Send for AnimalKind
impl Sync for AnimalKind
impl Unpin for AnimalKind
impl UnsafeUnpin for AnimalKind
impl UnwindSafe for AnimalKind
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