pub struct Livestock {
pub pasture: Option<usize>,
pub timer: i64,
}Expand description
LivestockComponent: the pasture (entity), towards the next product.
Fields§
§pasture: Option<usize>The pasture, if any.
timer: i64The time towards the next product.
Trait Implementations§
impl Copy for Livestock
impl Eq for Livestock
impl StructuralPartialEq for Livestock
Auto Trait Implementations§
impl Freeze for Livestock
impl RefUnwindSafe for Livestock
impl Send for Livestock
impl Sync for Livestock
impl Unpin for Livestock
impl UnsafeUnpin for Livestock
impl UnwindSafe for Livestock
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