pub struct ValueCubic;
Expand description
2/3 dimensional Cubic Value noise
Implementations§
Source§impl ValueCubic
impl ValueCubic
pub const fn seed(self, seed: i32) -> Seeded<Self>
pub const fn frequency(self, frequency: f32) -> Frequency<Self>
pub const fn fbm(self, octaves: u32, gain: f32, lacunarity: f32) -> Fbm<Self>
pub const fn ridged( self, octaves: u32, gain: f32, lacunarity: f32, ) -> Ridged<Self>
pub const fn ping_pong( self, octaves: u32, gain: f32, lacunarity: f32, strength: f32, ) -> PingPong<Self>
Trait Implementations§
Source§impl Clone for ValueCubic
impl Clone for ValueCubic
Source§fn clone(&self) -> ValueCubic
fn clone(&self) -> ValueCubic
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 ValueCubic
impl Debug for ValueCubic
Source§impl PartialEq for ValueCubic
impl PartialEq for ValueCubic
impl Copy for ValueCubic
impl Eq for ValueCubic
impl StructuralPartialEq for ValueCubic
Auto Trait Implementations§
impl Freeze for ValueCubic
impl RefUnwindSafe for ValueCubic
impl Send for ValueCubic
impl Sync for ValueCubic
impl Unpin for ValueCubic
impl UnwindSafe for ValueCubic
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