logo
pub struct InstanceExtensions {
Show 37 fields pub khr_android_surface: bool, pub khr_device_group_creation: bool, pub khr_display: bool, pub khr_external_fence_capabilities: bool, pub khr_external_memory_capabilities: bool, pub khr_external_semaphore_capabilities: bool, pub khr_get_display_properties2: bool, pub khr_get_physical_device_properties2: bool, pub khr_get_surface_capabilities2: bool, pub khr_portability_enumeration: bool, pub khr_surface: bool, pub khr_surface_protected_capabilities: bool, pub khr_wayland_surface: bool, pub khr_win32_surface: bool, pub khr_xcb_surface: bool, pub khr_xlib_surface: bool, pub ext_acquire_drm_display: bool, pub ext_acquire_xlib_display: bool, pub ext_debug_report: bool, pub ext_debug_utils: bool, pub ext_direct_mode_display: bool, pub ext_directfb_surface: bool, pub ext_display_surface_counter: bool, pub ext_headless_surface: bool, pub ext_metal_surface: bool, pub ext_swapchain_colorspace: bool, pub ext_validation_features: bool, pub ext_validation_flags: bool, pub fuchsia_imagepipe_surface: bool, pub ggp_stream_descriptor_surface: bool, pub google_surfaceless_query: bool, pub mvk_ios_surface: bool, pub mvk_macos_surface: bool, pub nn_vi_surface: bool, pub nv_external_memory_capabilities: bool, pub qnx_screen_surface: bool, pub _ne: NonExhaustive,
}
Expand description

List of extensions that are enabled or available.

Fields

khr_android_surface: bool
khr_device_group_creation: bool
khr_display: bool
khr_external_fence_capabilities: bool
khr_external_memory_capabilities: bool
khr_external_semaphore_capabilities: bool
khr_get_display_properties2: bool
khr_get_physical_device_properties2: bool
khr_get_surface_capabilities2: bool
khr_portability_enumeration: boolkhr_surface: boolkhr_surface_protected_capabilities: bool
khr_wayland_surface: bool
khr_win32_surface: bool
khr_xcb_surface: bool
khr_xlib_surface: bool
ext_acquire_drm_display: bool
ext_acquire_xlib_display: bool
ext_debug_report: boolext_debug_utils: boolext_direct_mode_display: bool
ext_directfb_surface: bool
ext_display_surface_counter: bool
ext_headless_surface: bool
ext_metal_surface: bool
ext_swapchain_colorspace: bool
ext_validation_features: boolext_validation_flags: boolfuchsia_imagepipe_surface: bool
ggp_stream_descriptor_surface: bool
google_surfaceless_query: bool
mvk_ios_surface: bool
mvk_macos_surface: bool
nn_vi_surface: bool
nv_external_memory_capabilities: boolqnx_screen_surface: bool
_ne: NonExhaustive

Implementations

Returns an Extensions object with all members set to false.

Returns true if self is a superset of the parameter.

That is, for each extension of the parameter that is true, the corresponding value in self is true as well.

Returns the union of this list and another list.

Returns the intersection of this list and another list.

Returns the difference of another list from this list.

See the docs of supported_by_core().

Returns an InstanceExtensions object with extensions supported by the core driver.

Same as supported_by_core, but allows specifying a loader.

See the docs of supported_by_core().

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Converts to this type from the input type.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.