Struct vulkanalia::vk::ExtensionMetadata[][src]

pub struct ExtensionMetadata {
    pub name: ExtensionName,
    pub number: i32,
    pub type_: &'static str,
    pub author: &'static str,
    pub contact: &'static str,
    pub platform: Option<&'static str>,
    pub requires: Option<&'static [ExtensionName]>,
    pub requires_core: Option<&'static str>,
    pub deprecated_by: Option<&'static str>,
    pub obsoleted_by: Option<&'static str>,
    pub promoted_to: Option<&'static str>,
}

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).

author: &'static str

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]

impl Copy for ExtensionMetadata[src]

impl Debug for ExtensionMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.