pub struct Blight {
pub check: i64,
pub left: i64,
pub kill: i64,
pub spread: i64,
pub pasture: bool,
pub last: Option<usize>,
}Expand description
The blight of a field, orchard or pasture: the time to the next check, the time left (sick while it is above zero), the time to the next death and to the next spread, whether it is on a pasture, and what grew when it last ended.
Fields§
§check: i64The time to the next check.
left: i64The time left; sick while above zero.
kill: i64The time to the next death.
spread: i64The time to the next spread.
pasture: boolWhether it is on a pasture.
last: Option<usize>What grew when it last ended.
Trait Implementations§
impl Eq for Blight
impl StructuralPartialEq for Blight
Auto Trait Implementations§
impl Freeze for Blight
impl RefUnwindSafe for Blight
impl Send for Blight
impl Sync for Blight
impl Unpin for Blight
impl UnsafeUnpin for Blight
impl UnwindSafe for Blight
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