Type Alias sdl2_sys::XErrorHandler

source ·
pub type XErrorHandler = Option<unsafe extern "C" fn(arg1: *mut Display, arg2: *mut XErrorEvent) -> c_int>;

Aliased Type§

enum XErrorHandler {
    None,
    Some(unsafe extern "C" fn(_: *mut _XDisplay, _: *mut XErrorEvent) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut _XDisplay, _: *mut XErrorEvent) -> i32)

Some value of type T.