#[repr(C)]pub struct NfcScannerEventData {
pub protocol_num: usize,
pub protocols: *mut NfcProtocol,
}
Expand description
Event data passed to the user callback.
Fields§
§protocol_num: usize
< Number of detected protocols (one or more).
protocols: *mut NfcProtocol
< Pointer to the array of detected protocol identifiers.
Trait Implementations§
Source§impl Clone for NfcScannerEventData
impl Clone for NfcScannerEventData
Source§fn clone(&self) -> NfcScannerEventData
fn clone(&self) -> NfcScannerEventData
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 NfcScannerEventData
impl Debug for NfcScannerEventData
impl Copy for NfcScannerEventData
Auto Trait Implementations§
impl Freeze for NfcScannerEventData
impl RefUnwindSafe for NfcScannerEventData
impl !Send for NfcScannerEventData
impl !Sync for NfcScannerEventData
impl Unpin for NfcScannerEventData
impl UnwindSafe for NfcScannerEventData
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