pub struct Forester {
pub plant: bool,
pub cut: bool,
}Expand description
ForesterComponent plant and cut (the lodge’s two toggle buttons).
Fields§
§plant: boolWhether it plants trees.
cut: boolWhether it cuts trees.
Trait Implementations§
impl Copy for Forester
impl Eq for Forester
impl StructuralPartialEq for Forester
Auto Trait Implementations§
impl Freeze for Forester
impl RefUnwindSafe for Forester
impl Send for Forester
impl Sync for Forester
impl Unpin for Forester
impl UnsafeUnpin for Forester
impl UnwindSafe for Forester
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