Enum SamplerateMode
#[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§
§impl SamplerateMode
impl SamplerateMode
pub const fn from_bits(val: u8) -> SamplerateMode
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for SamplerateMode
impl Clone for SamplerateMode
§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 more§impl From<u8> for SamplerateMode
impl From<u8> for SamplerateMode
§fn from(val: u8) -> SamplerateMode
fn from(val: u8) -> SamplerateMode
Converts to this type from the input type.
§impl Ord for SamplerateMode
impl Ord for SamplerateMode
§impl PartialEq for SamplerateMode
impl PartialEq for SamplerateMode
§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
)