#[repr(u8)]pub enum Prescale {
DIVIDEBY1 = 0,
DIVIDEBY2 = 1,
DIVIDEBY4 = 2,
DIVIDEBY8 = 3,
DIVIDEBY16 = 4,
DIVIDEBY32 = 5,
DIVIDEBY64 = 6,
DIVIDEBY128 = 7,
}Variants§
DIVIDEBY1 = 0
Divide by 1
DIVIDEBY2 = 1
Divide by 2
DIVIDEBY4 = 2
Divide by 4
DIVIDEBY8 = 3
Divide by 8
DIVIDEBY16 = 4
Divide by 16
DIVIDEBY32 = 5
Divide by 32
DIVIDEBY64 = 6
Divide by 64
DIVIDEBY128 = 7
Divide by 128
Implementations§
Trait Implementations§
Source§impl Ord for Prescale
impl Ord for Prescale
Source§impl PartialOrd for Prescale
impl PartialOrd for Prescale
impl Copy for Prescale
impl Eq for Prescale
impl StructuralPartialEq for Prescale
Auto Trait Implementations§
impl Freeze for Prescale
impl RefUnwindSafe for Prescale
impl Send for Prescale
impl Sync for Prescale
impl Unpin for Prescale
impl UnwindSafe for Prescale
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