Enum vk_parse::RegistryItem[][src]

pub enum RegistryItem {
    Comment(String),
    VendorIds {
        comment: Option<String>,
        items: Vec<VendorId>,
    },
    Platforms {
        comment: Option<String>,
        items: Vec<Platform>,
    },
    Tags {
        comment: Option<String>,
        items: Vec<Tag>,
    },
    Types {
        comment: Option<String>,
        items: Vec<TypeItem>,
    },
    Enums {
        name: Option<String>,
        kind: Option<String>,
        start: Option<i64>,
        end: Option<i64>,
        vendor: Option<String>,
        comment: Option<String>,
        items: Vec<EnumsItem>,
    },
    Commands {
        comment: Option<String>,
        items: Vec<Command>,
    },
    Feature {
        api: String,
        name: String,
        number: f32,
        protect: Option<String>,
        comment: Option<String>,
        items: Vec<ExtensionItem>,
    },
    Extensions {
        comment: Option<String>,
        items: Vec<Extension>,
    },
}

An element of the Vulkan registry.

Variants

Comments are human-readable strings which contain registry meta-data.

IDs of all known Vulkan vendors.

Fields of VendorIds

List of supported Vulkan platforms.

Fields of Platforms

Known extension tags.

Fields of Tags

Type definitions.

Unlike OpenGL, Vulkan is a strongly-typed API.

Fields of Types

Enum definitions.

Fields of Enums

Commands are the Vulkan API's name for functions.

Fields of Commands

Feature level of the API, such as Vulkan 1.0 or 1.1

Fields of Feature

Container for all published Vulkan specification extensions.

Fields of Extensions

Trait Implementations

impl From<RegistryItem> for RegistryElement
[src]

Performs the conversion.

impl Debug for RegistryItem
[src]

Formats the value using the given formatter. Read more

impl Clone for RegistryItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations