Type Alias sameboy_sys::GB_rgb_encode_callback_t

source ·
pub type GB_rgb_encode_callback_t = Option<unsafe extern "C" fn(gb: *mut GB_gameboy_t, r: u8, g: u8, b: u8) -> u32>;

Aliased Type§

enum GB_rgb_encode_callback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut GB_gameboy_s, _: u8, _: u8, _: u8) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.