Struct nfc1_sys::nfc_context
source · #[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 copy 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 more