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
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)