pub struct HerdDescription {
pub animal: Option<String>,
pub max: i32,
pub min: i32,
pub rest: f32,
pub rest_range: f32,
pub area: i32,
pub regrowth: f32,
}Expand description
HerdDescription.
Original: FUN_1401276b0.
Fields§
§animal: Option<String>The animal template.
max: i32The most animals.
min: i32The fewest animals.
rest: f32The rest between moves (× 300 s): the base.
rest_range: f32The random part of the rest.
area: i32The side of the herd’s area in cells.
regrowth: f32The regrowth interval (× 300 s).
Trait Implementations§
Source§impl Clone for HerdDescription
impl Clone for HerdDescription
Source§fn clone(&self) -> HerdDescription
fn clone(&self) -> HerdDescription
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 HerdDescription
impl Debug for HerdDescription
Source§impl PartialEq for HerdDescription
impl PartialEq for HerdDescription
impl StructuralPartialEq for HerdDescription
Auto Trait Implementations§
impl Freeze for HerdDescription
impl RefUnwindSafe for HerdDescription
impl Send for HerdDescription
impl Sync for HerdDescription
impl Unpin for HerdDescription
impl UnsafeUnpin for HerdDescription
impl UnwindSafe for HerdDescription
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