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