#[repr(C)]pub struct nfc_context {
pub allow_autoscan: bool,
pub allow_intrusive_scan: bool,
pub log_level: u32,
pub user_defined_devices: [nfc_user_defined_device; 4],
pub user_defined_device_count: c_uint,
}Expand description
@struct nfc_context @brief NFC library context Struct which contains internal options, references, pointers, etc. used by library
Fields§
§allow_autoscan: bool§allow_intrusive_scan: bool§log_level: u32§user_defined_devices: [nfc_user_defined_device; 4]§user_defined_device_count: c_uintTrait Implementations§
Source§impl Clone for nfc_context
impl Clone for nfc_context
Source§fn clone(&self) -> nfc_context
fn clone(&self) -> nfc_context
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 nfc_context
impl Debug for nfc_context
impl Copy for nfc_context
Auto Trait Implementations§
impl Freeze for nfc_context
impl RefUnwindSafe for nfc_context
impl Send for nfc_context
impl Sync for nfc_context
impl Unpin for nfc_context
impl UnwindSafe for nfc_context
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