#[repr(u8)]pub enum worldgen__density_function_type {
Show 32 variants
blend_alpha = 0,
blend_offset = 1,
beardifier = 2,
old_blended_noise = 3,
interpolated = 4,
flat_cache = 5,
cache_2d = 6,
cache_once = 7,
cache_all_in_cell = 8,
noise = 9,
end_islands = 10,
weird_scaled_sampler = 11,
shifted_noise = 12,
range_choice = 13,
shift_a = 14,
shift_b = 15,
shift = 16,
blend_density = 17,
clamp = 18,
abs = 19,
square = 20,
cube = 21,
half_negative = 22,
quarter_negative = 23,
squeeze = 24,
add = 25,
mul = 26,
min = 27,
max = 28,
spline = 29,
constant = 30,
y_clamped_gradient = 31,
}Variants§
blend_alpha = 0
blend_offset = 1
beardifier = 2
old_blended_noise = 3
interpolated = 4
flat_cache = 5
cache_2d = 6
cache_once = 7
cache_all_in_cell = 8
noise = 9
end_islands = 10
weird_scaled_sampler = 11
shifted_noise = 12
range_choice = 13
shift_a = 14
shift_b = 15
shift = 16
blend_density = 17
clamp = 18
abs = 19
square = 20
cube = 21
half_negative = 22
quarter_negative = 23
squeeze = 24
add = 25
mul = 26
min = 27
max = 28
spline = 29
constant = 30
y_clamped_gradient = 31
Implementations§
Trait Implementations§
Source§impl Clone for worldgen__density_function_type
impl Clone for worldgen__density_function_type
Source§fn clone(&self) -> worldgen__density_function_type
fn clone(&self) -> worldgen__density_function_type
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for worldgen__density_function_type
impl PartialEq for worldgen__density_function_type
Source§fn eq(&self, other: &worldgen__density_function_type) -> bool
fn eq(&self, other: &worldgen__density_function_type) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for worldgen__density_function_type
impl Eq for worldgen__density_function_type
impl StructuralPartialEq for worldgen__density_function_type
Auto Trait Implementations§
impl Freeze for worldgen__density_function_type
impl RefUnwindSafe for worldgen__density_function_type
impl Send for worldgen__density_function_type
impl Sync for worldgen__density_function_type
impl Unpin for worldgen__density_function_type
impl UnwindSafe for worldgen__density_function_type
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