pub struct WorleyOptions {
pub cell_size: i32,
pub seed: i32,
}
Expand description
Options for worley operation
Fields§
§cell_size: i32
cell_size: i32
-> Size of Worley cells
min: 1, max: 10000000, default: 256
seed: i32
seed: i32
-> Random number seed
min: -2147483648, max: 2147483647, default: 0
Trait Implementations§
Source§impl Clone for WorleyOptions
impl Clone for WorleyOptions
Source§fn clone(&self) -> WorleyOptions
fn clone(&self) -> WorleyOptions
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 WorleyOptions
impl Debug for WorleyOptions
Auto Trait Implementations§
impl Freeze for WorleyOptions
impl RefUnwindSafe for WorleyOptions
impl Send for WorleyOptions
impl Sync for WorleyOptions
impl Unpin for WorleyOptions
impl UnwindSafe for WorleyOptions
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