Enum stm32_metapac::i2c::vals::Duty
#[repr(u8)]pub enum Duty {
DUTY2_1 = 0,
DUTY16_9 = 1,
}
Variants§
Implementations§
Trait Implementations§
§impl Ord for Duty
impl Ord for Duty
§impl PartialOrd for Duty
impl PartialOrd for Duty
§fn partial_cmp(&self, other: &Duty) -> Option<Ordering>
fn partial_cmp(&self, other: &Duty) -> 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 Duty
impl Eq for Duty
impl StructuralPartialEq for Duty
Auto Trait Implementations§
impl Freeze for Duty
impl RefUnwindSafe for Duty
impl Send for Duty
impl Sync for Duty
impl Unpin for Duty
impl UnwindSafe for Duty
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