[][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_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>,
    pub mnd_headless: Option<HeadlessMND>,
    pub msft_unbounded_reference_space: Option<UnboundedReferenceSpaceMSFT>,
    pub msft_spatial_anchor: Option<SpatialAnchorMSFT>,
    pub varjo_quad_views: Option<QuadViewsVARJO>,
}

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_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>mnd_headless: Option<HeadlessMND>msft_unbounded_reference_space: Option<UnboundedReferenceSpaceMSFT>msft_spatial_anchor: Option<SpatialAnchorMSFT>varjo_quad_views: Option<QuadViewsVARJO>

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 Clone for InstanceExtensions[src]

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

Performs copy-assignment from source. Read more

impl Default for InstanceExtensions[src]

impl Copy for InstanceExtensions[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>,