pub type PFN_vkDisplayPowerControlEXT = Option<unsafe extern "system" fn(device: Device, display: DisplayKHR, p_display_power_info: *const DisplayPowerInfoEXT) -> Result>;Expand description
vkDisplayPowerControlEXT
Provided by VK_EXT_display_control.
§Success Codes
VK_SUCCESS
§Error Codes
VK_ERROR_OUT_OF_HOST_MEMORYVK_ERROR_UNKNOWNVK_ERROR_VALIDATION_FAILED
Aliased Type§
pub enum PFN_vkDisplayPowerControlEXT {
None,
Some(unsafe extern "system" fn(Device, DisplayKHR, *const DisplayPowerInfoEXT) -> Result),
}Variants§
None
No value.
Some(unsafe extern "system" fn(Device, DisplayKHR, *const DisplayPowerInfoEXT) -> Result)
Some value of type T.