pub struct Rate { /* private fields */ }Expand description
A modulation or LFO rate, read in hertz.
⚠️ Under a live master clock the same slot reads as a subdivision instead — see
ClockDivision. The flag that switches it is a sibling field, so neither field
answers alone.
Implementations§
Trait Implementations§
impl Copy for Rate
Source§impl Debug for Rate
The stored byte. There is no published transform to the unit, so printing one
would invent precision the file does not carry.
impl Debug for Rate
The stored byte. There is no published transform to the unit, so printing one would invent precision the file does not carry.
impl Eq for Rate
Source§impl Ord for Rate
impl Ord for Rate
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl Packed for Rate
impl Packed for Rate
Source§const MAX_BITS: u32 = 7
const MAX_BITS: u32 = 7
Bits the widest value of this type occupies. Used to check statically that it
fits its slot.
Source§const DECODE_BITS: u32 = u8::BITS
const DECODE_BITS: u32 = u8::BITS
Widest slot this type can decode without losing bits on re-encoding. Read more
Source§const CONTROL: ControlKind
const CONTROL: ControlKind
Which panel control this value is, for a caller building an interface over the
field registry. Read more
Source§type Error = ParseError
type Error = ParseError
Why a bit pattern is not a valid value.
Infallible when every pattern is.Source§impl PartialOrd for Rate
impl PartialOrd for Rate
impl StructuralPartialEq for Rate
Auto Trait Implementations§
impl Freeze for Rate
impl RefUnwindSafe for Rate
impl Send for Rate
impl Sync for Rate
impl Unpin for Rate
impl UnsafeUnpin for Rate
impl UnwindSafe for Rate
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.