pub struct ForesterTemplate {
pub tree: usize,
pub group: i32,
}Expand description
A resolved ForesterDescription.
Fields§
§tree: usizeThe tree it plants (index into the placed-object templates).
group: i32The stock-manager slot whose limit stops the cutting.
Trait Implementations§
Source§impl Clone for ForesterTemplate
impl Clone for ForesterTemplate
Source§fn clone(&self) -> ForesterTemplate
fn clone(&self) -> ForesterTemplate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ForesterTemplate
impl Debug for ForesterTemplate
Source§impl Default for ForesterTemplate
impl Default for ForesterTemplate
Source§fn default() -> ForesterTemplate
fn default() -> ForesterTemplate
Returns the “default value” for a type. Read more
Source§impl PartialEq for ForesterTemplate
impl PartialEq for ForesterTemplate
impl StructuralPartialEq for ForesterTemplate
Auto Trait Implementations§
impl Freeze for ForesterTemplate
impl RefUnwindSafe for ForesterTemplate
impl Send for ForesterTemplate
impl Sync for ForesterTemplate
impl Unpin for ForesterTemplate
impl UnsafeUnpin for ForesterTemplate
impl UnwindSafe for ForesterTemplate
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