Struct vulkano::instance::InstanceExtensions
[−]
[src]
pub struct InstanceExtensions { pub khr_surface: bool, pub khr_display: bool, pub khr_xlib_surface: bool, pub khr_xcb_surface: bool, pub khr_wayland_surface: bool, pub khr_mir_surface: bool, pub khr_android_surface: bool, pub khr_win32_surface: bool, pub ext_debug_report: bool, }
List of extensions that are enabled or available.
Fields
khr_surface: bool
khr_display: bool
khr_xlib_surface: bool
khr_xcb_surface: bool
khr_wayland_surface: bool
khr_mir_surface: bool
khr_android_surface: bool
khr_win32_surface: bool
ext_debug_report: bool
Methods
impl InstanceExtensions
[src]
fn none() -> InstanceExtensions
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: &InstanceExtensions) -> InstanceExtensions
Returns the intersection of this list and another list.
impl InstanceExtensions
[src]
fn supported_by_core_raw() -> Result<InstanceExtensions, SupportedExtensionsError>
See the docs of supported_by_core().
fn supported_by_core() -> Result<InstanceExtensions, LoadingError>
Returns an Extensions
object with extensions supported by the core driver.
Trait Implementations
impl Eq for InstanceExtensions
[src]
impl PartialEq for InstanceExtensions
[src]
fn eq(&self, __arg_0: &InstanceExtensions) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InstanceExtensions) -> bool
This method tests for !=
.
impl Clone for InstanceExtensions
[src]
fn clone(&self) -> InstanceExtensions
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