flipperzero_sys

Type Alias OneWireSlaveResetCallback

Source
pub type OneWireSlaveResetCallback = Option<unsafe extern "C" fn(is_short: bool, context: *mut c_void) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.