Type Alias PDButtonCallbackFunction

Source
pub type PDButtonCallbackFunction = Option<unsafe extern "C" fn(button: PDButtons, down: c_int, when: u32, userdata: *mut c_void) -> c_int>;

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(PDButtons, i32, u32, *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.