Type Alias flipperzero_sys::OneWireSlaveCommandCallback

source ·
pub type OneWireSlaveCommandCallback = Option<unsafe extern "C" fn(command: u8, context: *mut c_void) -> bool>;

Aliased Type§

enum OneWireSlaveCommandCallback {
    None,
    Some(unsafe extern "C" fn(_: u8, _: *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: u8, _: *mut c_void) -> bool)

Some value of type T.