#[repr(u8)]pub enum Discardmode {
DISCARD_END = 0,
DISCARD_START = 1,
}
Variants§
DISCARD_END = 0
Unused bits are discarded at end of frame (EoF)
DISCARD_START = 1
Unused bits are discarded at start of frame (SoF)
Implementations§
Source§impl Discardmode
impl Discardmode
Trait Implementations§
Source§impl Clone for Discardmode
impl Clone for Discardmode
Source§fn clone(&self) -> Discardmode
fn clone(&self) -> Discardmode
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<Discardmode> for u8
impl From<Discardmode> for u8
Source§fn from(val: Discardmode) -> u8
fn from(val: Discardmode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Discardmode
impl From<u8> for Discardmode
Source§fn from(val: u8) -> Discardmode
fn from(val: u8) -> Discardmode
Converts to this type from the input type.
Source§impl Ord for Discardmode
impl Ord for Discardmode
Source§fn cmp(&self, other: &Discardmode) -> Ordering
fn cmp(&self, other: &Discardmode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for Discardmode
impl PartialEq for Discardmode
Source§impl PartialOrd for Discardmode
impl PartialOrd for Discardmode
impl Copy for Discardmode
impl Eq for Discardmode
impl StructuralPartialEq for Discardmode
Auto Trait Implementations§
impl Freeze for Discardmode
impl RefUnwindSafe for Discardmode
impl Send for Discardmode
impl Sync for Discardmode
impl Unpin for Discardmode
impl UnwindSafe for Discardmode
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
)