[−][src]Struct vulkano::instance::InstanceExtensions
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_android_surface: bool
khr_win32_surface: bool
ext_debug_report: bool
mvk_ios_surface: bool
mvk_macos_surface: bool
mvk_moltenvk: bool
nn_vi_surface: bool
ext_swapchain_colorspace: bool
khr_get_physical_device_properties2: bool
_unbuildable: Unbuildable
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 InstanceExtensions
[src]
pub fn none() -> InstanceExtensions
[src]
Returns an Extensions
object with all members set to false
.
pub fn union(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]
Returns the union of this list and another list.
pub fn intersection(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]
Returns the intersection of this list and another list.
pub fn difference(&self, other: &InstanceExtensions) -> InstanceExtensions
[src]
Returns the difference of another list from this list.
impl InstanceExtensions
[src]
pub fn supported_by_core_raw() -> Result<Self, SupportedExtensionsError>
[src]
See the docs of supported_by_core().
pub fn supported_by_core_raw_with_loader<L>(
ptrs: &FunctionPointers<L>
) -> Result<Self, SupportedExtensionsError> where
L: Loader,
[src]
ptrs: &FunctionPointers<L>
) -> Result<Self, SupportedExtensionsError> where
L: Loader,
See the docs of supported_by_core().
pub fn supported_by_core() -> Result<Self, LoadingError>
[src]
Returns a RawExtensions
object with extensions supported by the core driver.
pub fn supported_by_core_with_loader<L>(
ptrs: &FunctionPointers<L>
) -> Result<Self, LoadingError> where
L: Loader,
[src]
ptrs: &FunctionPointers<L>
) -> Result<Self, LoadingError> where
L: Loader,
Same as supported_by_core
, but allows specifying a loader.
Trait Implementations
impl Eq for InstanceExtensions
[src]
impl Clone for InstanceExtensions
[src]
fn clone(&self) -> InstanceExtensions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<InstanceExtensions> for InstanceExtensions
[src]
fn eq(&self, other: &InstanceExtensions) -> bool
[src]
fn ne(&self, other: &InstanceExtensions) -> bool
[src]
impl<'a> From<&'a InstanceExtensions> for RawInstanceExtensions
[src]
fn from(x: &'a InstanceExtensions) -> Self
[src]
impl<'a> From<&'a RawInstanceExtensions> for InstanceExtensions
[src]
fn from(x: &'a RawInstanceExtensions) -> Self
[src]
impl Copy for InstanceExtensions
[src]
impl Debug for InstanceExtensions
[src]
Auto Trait Implementations
impl Send for InstanceExtensions
impl Unpin for InstanceExtensions
impl Sync for InstanceExtensions
impl UnwindSafe for InstanceExtensions
impl RefUnwindSafe for InstanceExtensions
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,