pub struct CherryTrunkPlacer {
pub base_height: i32,
pub height_rand_a: i32,
pub height_rand_b: i32,
pub branch_count: IntProvider,
pub branch_horizontal_length: IntProvider,
pub branch_start_offset_from_top: UniformIntProvider,
pub branch_end_offset_from_top: IntProvider,
}Fields§
§base_height: i32§height_rand_a: i32§height_rand_b: i32§branch_count: IntProvider§branch_horizontal_length: IntProvider§branch_start_offset_from_top: UniformIntProvider§branch_end_offset_from_top: IntProviderTrait Implementations§
Source§impl Clone for CherryTrunkPlacer
impl Clone for CherryTrunkPlacer
Source§fn clone(&self) -> CherryTrunkPlacer
fn clone(&self) -> CherryTrunkPlacer
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 moreAuto Trait Implementations§
impl Freeze for CherryTrunkPlacer
impl RefUnwindSafe for CherryTrunkPlacer
impl Send for CherryTrunkPlacer
impl Sync for CherryTrunkPlacer
impl Unpin for CherryTrunkPlacer
impl UnsafeUnpin for CherryTrunkPlacer
impl UnwindSafe for CherryTrunkPlacer
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