pub struct SlopeDecibits(pub i8);Expand description
Slope scaled x10: [-100, 100] maps to [-10.0, +10.0]. Used for: pink noise slope (typically around -1.0).
Tuple Fields§
§0: i8Implementations§
Trait Implementations§
Source§impl Clone for SlopeDecibits
impl Clone for SlopeDecibits
Source§fn clone(&self) -> SlopeDecibits
fn clone(&self) -> SlopeDecibits
Returns a duplicate 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 SlopeDecibits
impl Debug for SlopeDecibits
Source§impl Default for SlopeDecibits
impl Default for SlopeDecibits
Source§fn default() -> SlopeDecibits
fn default() -> SlopeDecibits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SlopeDecibits
impl<'de> Deserialize<'de> for SlopeDecibits
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 From<SlopeDecibits> for f64
impl From<SlopeDecibits> for f64
Source§fn from(value: SlopeDecibits) -> Self
fn from(value: SlopeDecibits) -> Self
Converts to this type from the input type.
Source§impl From<f64> for SlopeDecibits
impl From<f64> for SlopeDecibits
Source§impl Hash for SlopeDecibits
impl Hash for SlopeDecibits
Source§impl Ord for SlopeDecibits
impl Ord for SlopeDecibits
Source§fn cmp(&self, other: &SlopeDecibits) -> Ordering
fn cmp(&self, other: &SlopeDecibits) -> 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 SlopeDecibits
impl PartialEq for SlopeDecibits
Source§impl PartialOrd for SlopeDecibits
impl PartialOrd for SlopeDecibits
Source§impl Serialize for SlopeDecibits
impl Serialize for SlopeDecibits
impl Copy for SlopeDecibits
impl Eq for SlopeDecibits
impl StructuralPartialEq for SlopeDecibits
Auto Trait Implementations§
impl Freeze for SlopeDecibits
impl RefUnwindSafe for SlopeDecibits
impl Send for SlopeDecibits
impl Sync for SlopeDecibits
impl Unpin for SlopeDecibits
impl UnsafeUnpin for SlopeDecibits
impl UnwindSafe for SlopeDecibits
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