#[repr(u8)]pub enum SampleTime {
CYCLES3 = 0,
CYCLES15 = 1,
CYCLES28 = 2,
CYCLES56 = 3,
CYCLES84 = 4,
CYCLES112 = 5,
CYCLES144 = 6,
CYCLES480 = 7,
}
Variants§
CYCLES3 = 0
3 cycles
CYCLES15 = 1
15 cycles
CYCLES28 = 2
28 cycles
CYCLES56 = 3
56 cycles
CYCLES84 = 4
84 cycles
CYCLES112 = 5
112 cycles
CYCLES144 = 6
144 cycles
CYCLES480 = 7
480 cycles
Implementations§
Source§impl SampleTime
impl SampleTime
Trait Implementations§
Source§impl Clone for SampleTime
impl Clone for SampleTime
Source§fn clone(&self) -> SampleTime
fn clone(&self) -> SampleTime
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 SampleTime
impl Debug for SampleTime
Source§impl From<u8> for SampleTime
impl From<u8> for SampleTime
Source§fn from(val: u8) -> SampleTime
fn from(val: u8) -> SampleTime
Converts to this type from the input type.
Source§impl Ord for SampleTime
impl Ord for SampleTime
Source§fn cmp(&self, other: &SampleTime) -> Ordering
fn cmp(&self, other: &SampleTime) -> 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 SampleTime
impl PartialEq for SampleTime
Source§impl PartialOrd for SampleTime
impl PartialOrd for SampleTime
impl Copy for SampleTime
impl Eq for SampleTime
impl StructuralPartialEq for SampleTime
Auto Trait Implementations§
impl Freeze for SampleTime
impl RefUnwindSafe for SampleTime
impl Send for SampleTime
impl Sync for SampleTime
impl Unpin for SampleTime
impl UnwindSafe for SampleTime
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