#[repr(u8)]pub enum ClockUnit {
KHZ_CLK = 0,
MHZ_CLK = 1,
}Variants§
KHZ_CLK = 0
kHz Speed (between 4 kHz and 1023 kHz)
MHZ_CLK = 1
MHz Speed (between 1 MHz and 1023 MHz)
Implementations§
Trait Implementations§
Source§impl Ord for ClockUnit
impl Ord for ClockUnit
Source§impl PartialOrd for ClockUnit
impl PartialOrd for ClockUnit
impl Copy for ClockUnit
impl Eq for ClockUnit
impl StructuralPartialEq for ClockUnit
Auto Trait Implementations§
impl Freeze for ClockUnit
impl RefUnwindSafe for ClockUnit
impl Send for ClockUnit
impl Sync for ClockUnit
impl Unpin for ClockUnit
impl UnwindSafe for ClockUnit
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