#[repr(C)]pub struct nfc_context {
pub allow_autoscan: u8,
pub allow_intrusive_scan: u8,
pub log_level: uint32_t,
pub user_defined_devices: [nfc_user_defined_device; 4],
pub user_defined_device_count: c_uint,
}Fields§
§allow_autoscan: u8§allow_intrusive_scan: u8§log_level: uint32_t§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 Default for nfc_context
impl Default 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