Type Alias lua_Hook

Source
pub type lua_Hook = Option<extern "C" fn(L: *mut lua_State, ar: *mut lua_Debug)>;
Expand description

Type for functions to be called on debug events.

Aliased Type§

enum lua_Hook {
    None,
    Some(extern "C" fn(*mut c_void, *mut lua_Debug)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(*mut c_void, *mut lua_Debug))

Some value of type T.