#[repr(C)]
pub struct NfcVData {
Show 23 fields pub dsfid: u8, pub afi: u8, pub ic_ref: u8, pub block_num: u16, pub block_size: u8, pub data: [u8; 8192], pub security_status: [u8; 257], pub selected: bool, pub quiet: bool, pub modified: bool, pub ready: bool, pub echo_mode: bool, pub sub_type: NfcVSubtype, pub sub_data: NfcVSubtypeData, pub auth_method: NfcVAuthMethod, pub emu_air: NfcVEmuAir, pub frame: *mut u8, pub frame_length: u8, pub eof_timestamp: u32, pub emu_protocol_handler: NfcVEmuProtocolHandler, pub emu_protocol_ctx: *mut c_void, pub last_command: [c_char; 128], pub error: [c_char; 128],
}

Fields§

§dsfid: u8§afi: u8§ic_ref: u8§block_num: u16§block_size: u8§data: [u8; 8192]§security_status: [u8; 257]§selected: bool§quiet: bool§modified: bool§ready: bool§echo_mode: bool§sub_type: NfcVSubtype§sub_data: NfcVSubtypeData§auth_method: NfcVAuthMethod§emu_air: NfcVEmuAir§frame: *mut u8§frame_length: u8§eof_timestamp: u32§emu_protocol_handler: NfcVEmuProtocolHandler§emu_protocol_ctx: *mut c_void§last_command: [c_char; 128]§error: [c_char; 128]

Trait Implementations§

source§

impl Clone for NfcVData

source§

fn clone(&self) -> NfcVData

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for NfcVData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.