pub struct TreeSpec {
pub height: f32,
pub trunk_radius: f32,
pub branching: u32,
pub crown_width: f32,
pub crown_height: f32,
pub blossom_density: f32,
pub bloom: f32,
pub leaf_density: f32,
}Fields§
§height: f32§trunk_radius: f32§branching: u32§crown_width: f32§crown_height: f32§blossom_density: f32§bloom: f32§leaf_density: f32Implementations§
Trait Implementations§
impl Copy for TreeSpec
impl StructuralPartialEq for TreeSpec
Auto Trait Implementations§
impl Freeze for TreeSpec
impl RefUnwindSafe for TreeSpec
impl Send for TreeSpec
impl Sync for TreeSpec
impl Unpin for TreeSpec
impl UnsafeUnpin for TreeSpec
impl UnwindSafe for TreeSpec
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