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

The callback invoked when a Surface’s size (in bytes) is requested.

@param user_data User data pointer uniquely identifying the surface.

Aliased Type§

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

Variants§

§1.0.0

None

No value.

§1.0.0

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

Some value of type T.