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 none of the members set.

👎Deprecated since 0.31.0: Use empty instead.

Returns an Extensions object with none of the members set.

Returns whether any members are set in both self and other.

Returns whether all members in other are set in self.

👎Deprecated since 0.31.0: Use contains instead.

Returns whether all members in other are set in self.

Returns the union of self and other.

Returns the intersection of self and other.

Returns self without the members set in other.

Returns the members set in self or other, but not both.

Trait Implementations

The resulting type after applying the & operator.
Performs the & operation. Read more
Performs the &= operation. Read more
The resulting type after applying the | operator.
Performs the | operation. Read more
Performs the |= operation. Read more
The resulting type after applying the ^ operator.
Performs the ^ operation. Read more
Performs the ^= operation. Read more
Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Creates a value from an iterator. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
The resulting type after applying the - operator.
Performs the - operation. Read more
Performs the -= operation. Read more

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.