Type Alias classicube_sys::PhysicsHandler

source ·
pub type PhysicsHandler = Option<unsafe extern "C" fn(index: c_int, block: BlockID)>;

Aliased Type§

enum PhysicsHandler {
    None,
    Some(unsafe extern "C" fn(_: i32, _: u16)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: i32, _: u16))

Some value of type T.