Enum vk_parse::InterfaceItem[][src]

pub enum InterfaceItem {
    Comment(String),
    Type {
        name: String,
        comment: Option<String>,
    },
    Enum(Enum),
    Command {
        name: String,
        comment: Option<String>,
    },
}

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

This structure is used by extensions to express dependencies or include functionality.

Variants

Fields of Type

Fields of Command

Trait Implementations

impl From<InterfaceItem> for FeatureReference
[src]

Performs the conversion.

impl From<InterfaceItem> for Option<ExtensionSpecificationElement>
[src]

Performs the conversion.

impl Debug for InterfaceItem
[src]

Formats the value using the given formatter. Read more

impl Clone for InterfaceItem
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations