#[repr(C)]pub struct NfcEvent {
pub type_: NfcEventType,
pub data: NfcEventData,
}Expand description
Nfc event structure.
Upon emission of an event, an instance of this struct will be passed to the callback.
Fields§
§type_: NfcEventType< Type of the emitted event.
data: NfcEventData< Event-specific data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NfcEvent
impl RefUnwindSafe for NfcEvent
impl !Send for NfcEvent
impl !Sync for NfcEvent
impl Unpin for NfcEvent
impl UnwindSafe for NfcEvent
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