#[repr(transparent)]pub struct NfcProtocol(pub c_uchar);
Expand description
Enumeration of all available NFC protocols.
When implementing a new protocol, add its identifier before the NfcProtocolNum entry.
Tuple Fields§
§0: c_uchar
Trait Implementations§
Source§impl Clone for NfcProtocol
impl Clone for NfcProtocol
Source§fn clone(&self) -> NfcProtocol
fn clone(&self) -> NfcProtocol
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 NfcProtocol
impl Debug for NfcProtocol
Source§impl Hash for NfcProtocol
impl Hash for NfcProtocol
Source§impl PartialEq for NfcProtocol
impl PartialEq for NfcProtocol
impl Copy for NfcProtocol
impl Eq for NfcProtocol
impl StructuralPartialEq for NfcProtocol
Auto Trait Implementations§
impl Freeze for NfcProtocol
impl RefUnwindSafe for NfcProtocol
impl Send for NfcProtocol
impl Sync for NfcProtocol
impl Unpin for NfcProtocol
impl UnwindSafe for NfcProtocol
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