Type Alias classicube_sys::Event_LightingMode_Callback

source ·
pub type Event_LightingMode_Callback = Option<unsafe extern "C" fn(obj: *mut c_void, oldMode: cc_uint8, fromServer: cc_bool)>;

Aliased Type§

enum Event_LightingMode_Callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: u8, _: u8)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: u8, _: u8))

Some value of type T.