pub type ULSurfaceDefinitionGetHeightCallback = Option<unsafe extern "C" fn(user_data: *mut c_void) -> c_uint>;
Expand description

The callback invoked when a Surface’s height (in pixels) is requested.

@param user_data User data pointer uniquely identifying the surface.

Aliased Type§

enum ULSurfaceDefinitionGetHeightCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void) -> u32)

Some value of type T.