Type Alias 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§

pub 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.