NfcDeviceSave

Type Alias NfcDeviceSave 

Source
pub type NfcDeviceSave = Option<unsafe extern "C" fn(data: *const NfcDeviceData, ff: *mut FlipperFormat) -> bool>;
Expand description

Save NFC device data to a FlipperFormat file.

The FlipperFormat file structure must be initialised and open by the calling code.

§Arguments

  • data (direction in) - pointer to the instance to be saved.
  • ff (direction in) - pointer to the FlipperFormat file instance.

§Returns

true if saved successfully, false otherwise.

Aliased Type§

pub enum NfcDeviceSave {
    None,
    Some(unsafe extern "C" fn(*const c_void, *mut FlipperFormat) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const c_void, *mut FlipperFormat) -> bool)

Some value of type T.