NfcDeviceAlloc

Type Alias NfcDeviceAlloc 

Source
pub type NfcDeviceAlloc = Option<unsafe extern "C" fn() -> *mut NfcDeviceData>;
Expand description

Allocate the protocol-specific NFC device data instance.

§Returns

pointer to the allocated instance.

Aliased Type§

pub enum NfcDeviceAlloc {
    None,
    Some(unsafe extern "C" fn() -> *mut c_void),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn() -> *mut c_void)

Some value of type T.