#[repr(transparent)]pub struct NfcCommand(pub c_uchar);Expand description
Enumeration of possible Nfc commands.
The event callback must return one of these to determine the next action.
Tuple Fields§
§0: c_ucharTrait Implementations§
Source§impl Clone for NfcCommand
impl Clone for NfcCommand
Source§fn clone(&self) -> NfcCommand
fn clone(&self) -> NfcCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NfcCommand
Source§impl Debug for NfcCommand
impl Debug for NfcCommand
impl Eq for NfcCommand
Source§impl Hash for NfcCommand
impl Hash for NfcCommand
Source§impl PartialEq for NfcCommand
impl PartialEq for NfcCommand
Source§fn eq(&self, other: &NfcCommand) -> bool
fn eq(&self, other: &NfcCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NfcCommand
Auto Trait Implementations§
impl Freeze for NfcCommand
impl RefUnwindSafe for NfcCommand
impl Send for NfcCommand
impl Sync for NfcCommand
impl Unpin for NfcCommand
impl UnsafeUnpin for NfcCommand
impl UnwindSafe for NfcCommand
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