Type Alias classicube_sys::Event_Block_Callback

source ·
pub type Event_Block_Callback = Option<unsafe extern "C" fn(obj: *mut c_void, coords: IVec3, oldBlock: BlockID, block: BlockID)>;

Aliased Type§

enum Event_Block_Callback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: IVec3_, _: u16, _: u16)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.