Enum Ovrmod
#[repr(u8)]pub enum Ovrmod {
Preserve = 0,
Overwrite = 1,
}Variants§
Preserve = 0
DR register is preserved with the old data when an overrun is detected
Overwrite = 1
DR register is overwritten with the last conversion result when an overrun is detected
Implementations§
Trait Implementations§
impl Copy for Ovrmod
impl Eq for Ovrmod
§impl Ord for Ovrmod
impl Ord for Ovrmod
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Ovrmod
impl PartialOrd for Ovrmod
impl StructuralPartialEq for Ovrmod
Auto Trait Implementations§
impl Freeze for Ovrmod
impl RefUnwindSafe for Ovrmod
impl Send for Ovrmod
impl Sync for Ovrmod
impl Unpin for Ovrmod
impl UnsafeUnpin for Ovrmod
impl UnwindSafe for Ovrmod
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