Struct symphonia_core::conv::dither::RandomNoise
source · pub struct RandomNoise(pub i32);
Expand description
RandomNoise
represents a sample of noise of a specified length in bits.
TODO: RandomNoise
should be parameterized by the number of bits once const generics land.
Tuple Fields§
§0: i32
Implementations§
Trait Implementations§
source§impl Clone for RandomNoise
impl Clone for RandomNoise
source§fn clone(&self) -> RandomNoise
fn clone(&self) -> RandomNoise
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 RandomNoise
impl Debug for RandomNoise
source§impl Default for RandomNoise
impl Default for RandomNoise
source§fn default() -> RandomNoise
fn default() -> RandomNoise
Returns the “default value” for a type. Read more
source§impl Ord for RandomNoise
impl Ord for RandomNoise
source§fn cmp(&self, other: &RandomNoise) -> Ordering
fn cmp(&self, other: &RandomNoise) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RandomNoise
impl PartialEq for RandomNoise
source§impl PartialOrd for RandomNoise
impl PartialOrd for RandomNoise
impl Copy for RandomNoise
impl Eq for RandomNoise
impl StructuralPartialEq for RandomNoise
Auto Trait Implementations§
impl Freeze for RandomNoise
impl RefUnwindSafe for RandomNoise
impl Send for RandomNoise
impl Sync for RandomNoise
impl Unpin for RandomNoise
impl UnwindSafe for RandomNoise
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)