Struct RootSystemConfiguration
pub(in worldgen::feature) struct RootSystemConfiguration {Show 15 fields
pub feature: PlacedFeatureRef,
pub required_vertical_space_for_tree: i32,
pub level_test_distance: i32,
pub max_level_deviation: i32,
pub root_radius: i32,
pub root_placement_attempts: i32,
pub root_column_max_height: i32,
pub hanging_root_radius: i32,
pub hanging_roots_vertical_span: i32,
pub hanging_root_placement_attempts: i32,
pub allowed_vertical_water_for_tree: i32,
pub root_state_provider: BlockStateProvider,
pub hanging_root_state_provider: BlockStateProvider,
pub root_replaceable: BlockHolderSet,
pub allowed_tree_position: BlockPredicate,
}Fields§
§feature: PlacedFeatureRef§required_vertical_space_for_tree: i32§level_test_distance: i32§max_level_deviation: i32§root_radius: i32§root_placement_attempts: i32§root_column_max_height: i32§hanging_root_radius: i32§hanging_roots_vertical_span: i32§hanging_root_placement_attempts: i32§allowed_vertical_water_for_tree: i32§root_state_provider: BlockStateProvider§hanging_root_state_provider: BlockStateProvider§root_replaceable: BlockHolderSet§allowed_tree_position: BlockPredicateTrait Implementations§
§impl Clone for RootSystemConfiguration
impl Clone for RootSystemConfiguration
§fn clone(&self) -> RootSystemConfiguration
fn clone(&self) -> RootSystemConfiguration
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 !RefUnwindSafe for RootSystemConfiguration
impl !UnwindSafe for RootSystemConfiguration
impl Freeze for RootSystemConfiguration
impl Send for RootSystemConfiguration
impl Sync for RootSystemConfiguration
impl Unpin for RootSystemConfiguration
impl UnsafeUnpin for RootSystemConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>