pub struct AnimalDescription {
pub materials: Vec<Option<String>>,
pub area: i32,
pub space: i32,
pub life: f32,
pub life_range: f32,
pub adult: f32,
pub breed: f32,
pub value_38: f32,
pub turn: bool,
pub idle: f32,
}Expand description
AnimalDescription (the idle time, is not stored and keeps the constructor’s 4).
Original: FUN_14010c520.
Fields§
§materials: Vec<Option<String>>The raw materials a hunted animal leaves.
area: i32The side of the animal’s home area in cells.
space: i32Map cells a pasture gives each animal.
Original: FUN_14012da40.
life: f32The lifespan in years: the base.
life_range: f32The tolerance of the lifespan.
adult: f32The age at full size (years).
breed: f32A breeding male’s years between young (and as much again at random).
Original: FUN_14010b8f0.
value_38: f32Not identified yet.
turn: boolTurn to a random heading when idling.
idle: f32The idle time in seconds (and as much again at random).
Trait Implementations§
Source§impl Clone for AnimalDescription
impl Clone for AnimalDescription
Source§fn clone(&self) -> AnimalDescription
fn clone(&self) -> AnimalDescription
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 moreSource§impl Debug for AnimalDescription
impl Debug for AnimalDescription
Source§impl PartialEq for AnimalDescription
impl PartialEq for AnimalDescription
impl StructuralPartialEq for AnimalDescription
Auto Trait Implementations§
impl Freeze for AnimalDescription
impl RefUnwindSafe for AnimalDescription
impl Send for AnimalDescription
impl Sync for AnimalDescription
impl Unpin for AnimalDescription
impl UnsafeUnpin for AnimalDescription
impl UnwindSafe for AnimalDescription
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