pub struct Orchard {
pub enabled: bool,
pub year: u32,
pub trees: Vec<TreeSlot>,
pub tree: Option<usize>,
}Expand description
OrchardComponent.
Fields§
§enabled: boolTending on.
year: u32The calendar year of the last harvest.
trees: Vec<TreeSlot>The tree slots.
tree: Option<usize>The tree (natural-resource template), chosen in the orchard’s window.
Trait Implementations§
impl StructuralPartialEq for Orchard
Auto Trait Implementations§
impl Freeze for Orchard
impl RefUnwindSafe for Orchard
impl Send for Orchard
impl Sync for Orchard
impl Unpin for Orchard
impl UnsafeUnpin for Orchard
impl UnwindSafe for Orchard
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