[][src]Struct openxr::InstanceExtensions

pub struct InstanceExtensions {
    pub ext_performance_settings: Option<PerformanceSettingsEXT>,
    pub ext_thermal_query: Option<ThermalQueryEXT>,
    pub ext_debug_utils: Option<DebugUtilsEXT>,
    pub khr_composition_layer_cube: Option<CompositionLayerCubeKHR>,
    pub khr_composition_layer_depth: Option<CompositionLayerDepthKHR>,
    pub khr_headless: Option<HeadlessKHR>,
    pub khr_vulkan_swapchain_format_list: Option<VulkanSwapchainFormatListKHR>,
    pub khr_composition_layer_cylinder: Option<CompositionLayerCylinderKHR>,
    pub khr_composition_layer_equirect: Option<CompositionLayerEquirectKHR>,
    pub khr_opengl_enable: Option<OpenglEnableKHR>,
    pub khr_opengl_es_enable: Option<OpenglEsEnableKHR>,
    pub khr_vulkan_enable: Option<VulkanEnableKHR>,
    pub khr_visibility_mask: Option<VisibilityMaskKHR>,
    pub khr_convert_timespec_time: Option<ConvertTimespecTimeKHR>,
}

Extensions used internally by the bindings

Fields

ext_performance_settings: Option<PerformanceSettingsEXT>ext_thermal_query: Option<ThermalQueryEXT>ext_debug_utils: Option<DebugUtilsEXT>khr_composition_layer_cube: Option<CompositionLayerCubeKHR>khr_composition_layer_depth: Option<CompositionLayerDepthKHR>khr_headless: Option<HeadlessKHR>khr_vulkan_swapchain_format_list: Option<VulkanSwapchainFormatListKHR>khr_composition_layer_cylinder: Option<CompositionLayerCylinderKHR>khr_composition_layer_equirect: Option<CompositionLayerEquirectKHR>khr_opengl_enable: Option<OpenglEnableKHR>khr_opengl_es_enable: Option<OpenglEsEnableKHR>khr_vulkan_enable: Option<VulkanEnableKHR>khr_visibility_mask: Option<VisibilityMaskKHR>khr_convert_timespec_time: Option<ConvertTimespecTimeKHR>

Methods

impl InstanceExtensions[src]

pub unsafe fn load(
    entry: &Entry,
    instance: Instance,
    required: &ExtensionSet
) -> Result<Self>
[src]

Load extension function pointer tables

Safety

instance must be a valid instance handle.

Trait Implementations

impl Copy for InstanceExtensions[src]

impl Default for InstanceExtensions[src]

impl Clone for InstanceExtensions[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.