Enum vk_parse::RegistryChild
source · #[non_exhaustive]pub enum RegistryChild {
Show 13 variants
Comment(String),
VendorIds(VendorIds),
Platforms(Platforms),
Tags(Tags),
Types(Types),
Enums(Enums),
Commands(Commands),
Feature(Feature),
Extensions(Extensions),
Formats(Formats),
SpirvExtensions(SpirvExtensions),
SpirvCapabilities(SpirvCapabilities),
Sync(Sync),
}
Expand description
An element of the Vulkan registry.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Comment(String)
Comments are human-readable strings which contain registry meta-data.
VendorIds(VendorIds)
IDs of all known Vulkan vendors.
Platforms(Platforms)
List of supported Vulkan platforms.
Tags(Tags)
Known extension tags.
Types(Types)
Type definitions.
Unlike OpenGL, Vulkan is a strongly-typed API.
Enums(Enums)
Enum definitions.
Commands(Commands)
Commands are the Vulkan API’s name for functions.
Feature(Feature)
Feature level of the API, such as Vulkan 1.0 or 1.1
Extensions(Extensions)
Container for all published Vulkan specification extensions.
Formats(Formats)
SpirvExtensions(SpirvExtensions)
SpirvCapabilities(SpirvCapabilities)
Sync(Sync)
Trait Implementations§
source§impl Clone for RegistryChild
impl Clone for RegistryChild
source§fn clone(&self) -> RegistryChild
fn clone(&self) -> RegistryChild
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RegistryChild
impl Debug for RegistryChild
source§impl PartialEq for RegistryChild
impl PartialEq for RegistryChild
source§fn eq(&self, other: &RegistryChild) -> bool
fn eq(&self, other: &RegistryChild) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RegistryChild
impl StructuralPartialEq for RegistryChild
Auto Trait Implementations§
impl Freeze for RegistryChild
impl RefUnwindSafe for RegistryChild
impl Send for RegistryChild
impl Sync for RegistryChild
impl Unpin for RegistryChild
impl UnwindSafe for RegistryChild
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more