Struct VegetationPatchConfiguration
pub(in worldgen::feature) struct VegetationPatchConfiguration {
pub replaceable: Identifier,
pub ground_state: BlockStateProvider,
pub vegetation_feature: PlacedFeatureRef,
pub surface: VerticalSurface,
pub depth: IntProvider,
pub extra_bottom_block_chance: f32,
pub vertical_range: i32,
pub vegetation_chance: f32,
pub xz_radius: IntProvider,
pub extra_edge_column_chance: f32,
}Fields§
§replaceable: Identifier§ground_state: BlockStateProvider§vegetation_feature: PlacedFeatureRef§surface: VerticalSurface§depth: IntProvider§extra_bottom_block_chance: f32§vertical_range: i32§vegetation_chance: f32§xz_radius: IntProvider§extra_edge_column_chance: f32Trait Implementations§
§impl Clone for VegetationPatchConfiguration
impl Clone for VegetationPatchConfiguration
§fn clone(&self) -> VegetationPatchConfiguration
fn clone(&self) -> VegetationPatchConfiguration
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 VegetationPatchConfiguration
impl !UnwindSafe for VegetationPatchConfiguration
impl Freeze for VegetationPatchConfiguration
impl Send for VegetationPatchConfiguration
impl Sync for VegetationPatchConfiguration
impl Unpin for VegetationPatchConfiguration
impl UnsafeUnpin for VegetationPatchConfiguration
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<>>