Type Alias lua_Writer

Source
pub type lua_Writer = Option<unsafe extern "C" fn(L: *mut lua_State, p: *const c_void, sz: usize, ud: *mut c_void) -> c_int>;

Aliased Type§

enum lua_Writer {
    None,
    Some(unsafe extern "C" fn(_: *mut lua_State, _: *const c_void, _: usize, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut lua_State, _: *const c_void, _: usize, _: *mut c_void) -> i32)

Some value of type T.