pub struct PerlinRow {
pub n: usize,
pub x0: i32,
pub step: i32,
pub abs: bool,
pub seed: u32,
pub stream: u32,
pub inv: f64,
pub ofsx: f64,
pub y: f64,
pub amp: f64,
}Expand description
a row of noise samples (PERLIN_ROW): x_j = (x0 + j step) * inv + ofsx
Fields§
§n: usize§x0: i32§step: i32§abs: bool§seed: u32§stream: u32§inv: f64§ofsx: f64§y: f64§amp: f64Auto Trait Implementations§
impl Forget for PerlinRow
impl Freeze for PerlinRow
impl RefUnwindSafe for PerlinRow
impl Send for PerlinRow
impl Sync for PerlinRow
impl Unpin for PerlinRow
impl UnsafeUnpin for PerlinRow
impl UnwindSafe for PerlinRow
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