pub struct GeneralProperties {
pub noise_type: NoiseType,
pub seed: i32,
pub frequency: f32,
pub x_scale: f32,
pub y_scale: f32,
pub z_scale: f32,
}Fields§
§noise_type: NoiseType§seed: i32Default: 1337; Seed used for all noise types
frequency: f32Frequency for all noise types
x_scale: f32Default: 1.0; Scaling factor for x axis.
y_scale: f32Default: 1.0; Scaling factor for y axis.
z_scale: f32Default: 1.0; Scaling factor for z axis.
Trait Implementations§
Source§impl Clone for GeneralProperties
impl Clone for GeneralProperties
Source§fn clone(&self) -> GeneralProperties
fn clone(&self) -> GeneralProperties
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 Debug for GeneralProperties
impl Debug for GeneralProperties
Source§impl Default for GeneralProperties
impl Default for GeneralProperties
Source§impl PartialEq for GeneralProperties
impl PartialEq for GeneralProperties
impl StructuralPartialEq for GeneralProperties
Auto Trait Implementations§
impl Freeze for GeneralProperties
impl RefUnwindSafe for GeneralProperties
impl Send for GeneralProperties
impl Sync for GeneralProperties
impl Unpin for GeneralProperties
impl UnwindSafe for GeneralProperties
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