pub struct PerlinOptions {
pub cell_size: i32,
pub uchar: bool,
pub seed: i32,
}
Expand description
Options for perlin operation
Fields§
§cell_size: i32
cell_size: i32
-> Size of Perlin cells
min: 1, max: 10000000, default: 256
uchar: bool
uchar: bool
-> Output an unsigned char image
default: false
seed: i32
seed: i32
-> Random number seed
min: -2147483648, max: 2147483647, default: 0
Trait Implementations§
Source§impl Clone for PerlinOptions
impl Clone for PerlinOptions
Source§fn clone(&self) -> PerlinOptions
fn clone(&self) -> PerlinOptions
Returns a copy 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 PerlinOptions
impl Debug for PerlinOptions
Auto Trait Implementations§
impl Freeze for PerlinOptions
impl RefUnwindSafe for PerlinOptions
impl Send for PerlinOptions
impl Sync for PerlinOptions
impl Unpin for PerlinOptions
impl UnwindSafe for PerlinOptions
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