#[repr(u8)]pub enum DisPufTest {
ENABLE = 0,
DISABLE = 1,
}Variants§
Implementations§
Source§impl DisPufTest
impl DisPufTest
Trait Implementations§
Source§impl Clone for DisPufTest
impl Clone for DisPufTest
Source§fn clone(&self) -> DisPufTest
fn clone(&self) -> DisPufTest
Returns a duplicate 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 Debug for DisPufTest
impl Debug for DisPufTest
Source§impl From<DisPufTest> for u8
impl From<DisPufTest> for u8
Source§fn from(val: DisPufTest) -> u8
fn from(val: DisPufTest) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DisPufTest
impl From<u8> for DisPufTest
Source§fn from(val: u8) -> DisPufTest
fn from(val: u8) -> DisPufTest
Converts to this type from the input type.
Source§impl Ord for DisPufTest
impl Ord for DisPufTest
Source§fn cmp(&self, other: &DisPufTest) -> Ordering
fn cmp(&self, other: &DisPufTest) -> 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 DisPufTest
impl PartialEq for DisPufTest
Source§impl PartialOrd for DisPufTest
impl PartialOrd for DisPufTest
impl Copy for DisPufTest
impl Eq for DisPufTest
impl StructuralPartialEq for DisPufTest
Auto Trait Implementations§
impl Freeze for DisPufTest
impl RefUnwindSafe for DisPufTest
impl Send for DisPufTest
impl Sync for DisPufTest
impl Unpin for DisPufTest
impl UnwindSafe for DisPufTest
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