Type Alias ctru_sys::ConsolePrint

source ·
pub type ConsolePrint = Option<unsafe extern "C" fn(con: *mut c_void, c: c_int) -> bool>;
Expand description

A callback for printing a character.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.