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
Comment(String)
Comments are human-readable strings which contain registry meta-data.
VendorIds
IDs of all known Vulkan vendors.
Fields of VendorIds
comment: Option<String> | |
items: Vec<VendorId> |
Platforms
List of supported Vulkan platforms.
Fields of Platforms
comment: Option<String> | |
items: Vec<Platform> |
Tags
Known extension tags.
Fields of Tags
comment: Option<String> | |
items: Vec<Tag> |
Types
Type definitions.
Unlike OpenGL, Vulkan is a strongly-typed API.
Fields of Types
comment: Option<String> | |
items: Vec<TypeItem> |
Enums
Enum definitions.
Fields of Enums
name: Option<String> | |
kind: Option<String> | |
start: Option<i64> | |
end: Option<i64> | |
vendor: Option<String> | |
comment: Option<String> | |
items: Vec<EnumsItem> |
Commands
Commands are the Vulkan API's name for functions.
Fields of Commands
comment: Option<String> | |
items: Vec<Command> |
Feature
Feature level of the API, such as Vulkan 1.0 or 1.1
Fields of Feature
api: String | |
name: String | |
number: f32 | |
protect: Option<String> | |
comment: Option<String> | |
items: Vec<ExtensionItem> |
Extensions
Container for all published Vulkan specification extensions.
Fields of Extensions
comment: Option<String> | |
items: Vec<Extension> |
Trait Implementations
impl From<RegistryItem> for RegistryElement
[src]
impl From<RegistryItem> for RegistryElement
fn from(orig: RegistryItem) -> Self
[src]
fn from(orig: RegistryItem) -> Self
Performs the conversion.
impl Debug for RegistryItem
[src]
impl Debug for RegistryItem
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for RegistryItem
[src]
impl Clone for RegistryItem
fn clone(&self) -> RegistryItem
[src]
fn clone(&self) -> RegistryItem
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for RegistryItem
impl Send for RegistryItem
impl Sync for RegistryItem
impl Sync for RegistryItem