pub struct TreeSlot {
pub cell: i32,
pub state: i32,
pub entity: Option<usize>,
pub picked: bool,
}Expand description
One tree slot (0x28 bytes).
Fields§
§cell: i32The map cell.
state: i320 to plant, 1 standing, 2 lost.
entity: Option<usize>The tree.
picked: boolPicked this harvest.
Trait Implementations§
impl Copy for TreeSlot
impl Eq for TreeSlot
impl StructuralPartialEq for TreeSlot
Auto Trait Implementations§
impl Freeze for TreeSlot
impl RefUnwindSafe for TreeSlot
impl Send for TreeSlot
impl Sync for TreeSlot
impl Unpin for TreeSlot
impl UnsafeUnpin for TreeSlot
impl UnwindSafe for TreeSlot
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