Type Alias PDCallbackFunction

Source
pub type PDCallbackFunction = Option<unsafe extern "C" fn(userdata: *mut c_void) -> c_int>;

Aliased Type§

pub enum PDCallbackFunction {
    None,
    Some(unsafe extern "C" fn(*mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void) -> i32)

Some value of type T.

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.