Struct vulkanalia::vk::ExtensionMetadata [−][src]
A collection of metadata for a Vulkan extension.
Fields
name: ExtensionName
The name of the extension.
number: i32
The number assigned to the extension.
type_: &'static str
The type of the extension (device
or instance
).
The author of the extension.
contact: &'static str
The primary contact(s) for the extension.
platform: Option<&'static str>
The platform the extension can be used on (e.g., wayland
or win32
).
requires: Option<&'static [ExtensionName]>
The extensions required by the extension.
requires_core: 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
impl Clone for ExtensionMetadata
[src]
fn clone(&self) -> ExtensionMetadata
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ExtensionMetadata
[src]
impl Debug for ExtensionMetadata
[src]
Auto Trait Implementations
impl RefUnwindSafe for ExtensionMetadata
impl Send for ExtensionMetadata
impl Sync for ExtensionMetadata
impl Unpin for ExtensionMetadata
impl UnwindSafe for ExtensionMetadata
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>,