Enum vk_parse::ExtensionChild[][src]

pub enum ExtensionChild {
    Require {
        api: Option<String>,
        profile: Option<String>,
        extension: Option<String>,
        feature: Option<String>,
        comment: Option<String>,
        items: Vec<InterfaceItem>,
    },
    Remove {
        api: Option<String>,
        profile: Option<String>,
        comment: Option<String>,
        items: Vec<InterfaceItem>,
    },
}

A part of an extension declaration.

Extensions either include functionality from the spec, or remove some functionality.

Variants

Indicates the items which this extension requires to work.

Fields of Require

The extension which provides these required items, if any.

The items which form this require block.

Indicates the items this extension removes.

Fields of Remove

Trait Implementations

impl From<ExtensionChild> for ExtensionElement
[src]

Performs the conversion.

impl From<ExtensionChild> for Option<FeatureSpecification>
[src]

Performs the conversion.

impl Debug for ExtensionChild
[src]

Formats the value using the given formatter. Read more

impl Clone for ExtensionChild
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations