Enum stm32_metapac::lptim::vals::Presc
#[repr(u8)]pub enum Presc {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
DIV16 = 4,
DIV32 = 5,
DIV64 = 6,
DIV128 = 7,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Presc
impl Ord for Presc
§impl PartialOrd for Presc
impl PartialOrd for Presc
§fn partial_cmp(&self, other: &Presc) -> Option<Ordering>
fn partial_cmp(&self, other: &Presc) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Presc
impl Eq for Presc
impl StructuralEq for Presc
impl StructuralPartialEq for Presc
Auto Trait Implementations§
impl RefUnwindSafe for Presc
impl Send for Presc
impl Sync for Presc
impl Unpin for Presc
impl UnwindSafe for Presc
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