Crate vk_parse[][src]

This crate parses the Vulkan XML registry into a Rust object.

The entry point into this library is parse_file_as_vkxml, which will return a Registry object. This object contains all the information contained in the Vulkan API registry.

Structs

CommandParam

Parameter for this Vulkan function.

Enum

An item of an enumeration type.

Extension
NameWithType
Platform

A platform refers to a windowing system which Vulkan can use.

Registry

Rust structure representing the Vulkan registry.

Tag

Tags are the little suffixes attached to extension names or items, indicating the author.

VendorId

Unique identifier for a Vulkan vendor.

Enums

Command

A command is just a Vulkan function.

EnumSpec

An enum specifier, which assigns a value to the enum.

EnumsItem

An item which forms an enum.

ExtensionItem

A part of an extension declaration.

InterfaceItem

An interface item is a function or an enum which makes up a Vulkan interface.

RegistryItem

An element of the Vulkan registry.

TypeCodeMarkup
TypeContents

The contents of a type definition.

TypeItem

An item making up a type definition.

TypeMember

A member of a type definition, i.e. a struct member.

TypeMemberMarkup

Functions

parse_file

Parses the Vulkan XML file into a Rust object.

parse_file_as_vkxml

Parses an file which must be the Vulkan registry XML in its standard format.