Struct vulkano::device::DeviceExtensions
[−]
[src]
pub struct DeviceExtensions { pub khr_swapchain: bool, pub khr_display_swapchain: bool, }
List of extensions that are enabled or available.
Fields
khr_swapchain: bool
khr_display_swapchain: bool
Methods
impl DeviceExtensions
[src]
fn none() -> DeviceExtensions
Returns an Extensions
object with all members set to false
.
fn build_extensions_list(&self) -> Vec<CString>
Builds a Vec containing the list of extensions.
fn intersection(&self, other: &DeviceExtensions) -> DeviceExtensions
Returns the intersection of this list and another list.
Trait Implementations
impl Debug for DeviceExtensions
[src]
impl Copy for DeviceExtensions
[src]
impl Clone for DeviceExtensions
[src]
fn clone(&self) -> DeviceExtensions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DeviceExtensions
[src]
fn eq(&self, __arg_0: &DeviceExtensions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeviceExtensions) -> bool
This method tests for !=
.