Struct vulkano::device::DeviceExtensions [] [src]

pub struct DeviceExtensions {
    pub khr_swapchain: bool,
    pub khr_display_swapchain: bool,
    pub khr_sampler_mirror_clamp_to_edge: bool,
    pub khr_maintenance1: bool,
    pub _unbuildable: Unbuildable,
}

List of extensions that are enabled or available.

Fields

This field ensures that an instance of this Extensions struct can only be created through Vulkano functions and the update syntax. This way, extensions can be added to Vulkano without breaking existing code.

Methods

impl DeviceExtensions
[src]

Returns an Extensions object with all members set to false.

Returns the intersection of this list and another list.

Returns the difference of another list from this list.

impl DeviceExtensions
[src]

See the docs of supported_by_device().

Returns an Extensions object with extensions supported by the PhysicalDevice.

Trait Implementations

impl Copy for DeviceExtensions
[src]

impl Clone for DeviceExtensions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for DeviceExtensions
[src]

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

This method tests for !=.

impl Eq for DeviceExtensions
[src]

impl Debug for DeviceExtensions
[src]

Formats the value using the given formatter.

impl<'a> From<&'a RawDeviceExtensions> for DeviceExtensions
[src]

Performs the conversion.