pub struct NoiseLayer {
pub kind: NoiseKind,
pub frequency: f32,
pub amplitude: f32,
pub seed: u32,
pub params: [f32; 12],
}Fields§
§kind: NoiseKind§frequency: f32§amplitude: f32§seed: u32§params: [f32; 12]Trait Implementations§
Source§impl Clone for NoiseLayer
impl Clone for NoiseLayer
Source§fn clone(&self) -> NoiseLayer
fn clone(&self) -> NoiseLayer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NoiseLayer
impl Debug for NoiseLayer
Source§impl Default for NoiseLayer
impl Default for NoiseLayer
Source§impl<'de> Deserialize<'de> for NoiseLayer
impl<'de> Deserialize<'de> for NoiseLayer
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NoiseLayer
impl PartialEq for NoiseLayer
Source§fn eq(&self, other: &NoiseLayer) -> bool
fn eq(&self, other: &NoiseLayer) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NoiseLayer
impl Serialize for NoiseLayer
impl Copy for NoiseLayer
impl StructuralPartialEq for NoiseLayer
Auto Trait Implementations§
impl Freeze for NoiseLayer
impl RefUnwindSafe for NoiseLayer
impl Send for NoiseLayer
impl Sync for NoiseLayer
impl Unpin for NoiseLayer
impl UnsafeUnpin for NoiseLayer
impl UnwindSafe for NoiseLayer
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