Struct vulkanalia::vk::Extension [−][src]
A collection of metadata for a Vulkan extension.
Fields
name: [i8; 256]
The name of the extension.
number: i32
The unique number assigned to the extension.
type_: &'static str
The type of the extension (device
or instance
).
The author of the extension (e.g., KHR
).
contact: &'static str
The primary contact(s) for the extension.
platform: Option<&'static str>
The platform the extension applies to (e.g., wayland
or win32
).
required_extensions: Option<&'static [[i8; 256]]>
The other extensions required by the extension.
required_version: Option<&'static str>
The Vulkan version required by the extension (e.g., 1.1
).
deprecated_by: Option<&'static str>
The Vulkan extension or version that deprecated the extension (e.g., VK_VERSION_1_1
).
obsoleted_by: Option<&'static str>
The Vulkan extension or version that obsoleted the extension (e.g., VK_VERSION_1_1
).
promoted_to: Option<&'static str>
The Vulkan version the extension was promoted to core in (e.g., VK_VERSION_1_1
).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut 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.
pub 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>,