TextInputValidatorCallback

Type Alias TextInputValidatorCallback 

Source
pub type TextInputValidatorCallback = Option<unsafe extern "C" fn(text: *const c_char, error: *mut FuriString, context: *mut c_void) -> bool>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.