#[repr(C)]pub struct NfcGenericEventEx {
pub poller: *mut NfcGenericInstance,
pub parent_event_data: *mut NfcGenericEventData,
}Expand description
Extended generic Nfc event type.
An extended generic Nfc event contains protocol poller and it’s parent protocol event data. If protocol has no parent, then events are produced by Nfc instance.
The parent_event_data field is protocol-specific and should be cast to the appropriate type before use.
Fields§
§poller: *mut NfcGenericInstance< Pointer to the protocol poller.
parent_event_data: *mut NfcGenericEventData< Pointer to the protocol’s parent poller event data.
Trait Implementations§
Source§impl Clone for NfcGenericEventEx
impl Clone for NfcGenericEventEx
Source§fn clone(&self) -> NfcGenericEventEx
fn clone(&self) -> NfcGenericEventEx
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 NfcGenericEventEx
impl Debug for NfcGenericEventEx
impl Copy for NfcGenericEventEx
Auto Trait Implementations§
impl Freeze for NfcGenericEventEx
impl RefUnwindSafe for NfcGenericEventEx
impl !Send for NfcGenericEventEx
impl !Sync for NfcGenericEventEx
impl Unpin for NfcGenericEventEx
impl UnwindSafe for NfcGenericEventEx
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