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