#[repr(u8)]pub enum SamplerateMode {
TASK = 0,
TIMERS = 1,
}
Variants§
TASK = 0
Rate is controlled from SAMPLE task
TIMERS = 1
Rate is controlled from local timer (use CC to control the rate)
Implementations§
Trait Implementations§
Source§impl Clone for SamplerateMode
impl Clone for SamplerateMode
Source§fn clone(&self) -> SamplerateMode
fn clone(&self) -> SamplerateMode
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 From<SamplerateMode> for u8
impl From<SamplerateMode> for u8
Source§fn from(val: SamplerateMode) -> u8
fn from(val: SamplerateMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SamplerateMode
impl From<u8> for SamplerateMode
Source§fn from(val: u8) -> SamplerateMode
fn from(val: u8) -> SamplerateMode
Converts to this type from the input type.
Source§impl Ord for SamplerateMode
impl Ord for SamplerateMode
Source§fn cmp(&self, other: &SamplerateMode) -> Ordering
fn cmp(&self, other: &SamplerateMode) -> 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 SamplerateMode
impl PartialEq for SamplerateMode
Source§impl PartialOrd for SamplerateMode
impl PartialOrd for SamplerateMode
impl Copy for SamplerateMode
impl Eq for SamplerateMode
impl StructuralPartialEq for SamplerateMode
Auto Trait Implementations§
impl Freeze for SamplerateMode
impl RefUnwindSafe for SamplerateMode
impl Send for SamplerateMode
impl Sync for SamplerateMode
impl Unpin for SamplerateMode
impl UnwindSafe for SamplerateMode
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
)