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