[][src]Enum vk_parse::ExtensionChild

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

Require

Indicates the items which this extension requires to work.

Fields of Require

api: Option<String>profile: Option<String>extension: Option<String>

The extension which provides these required items, if any.

feature: Option<String>comment: Option<String>items: Vec<InterfaceItem>

The items which form this require block.

Remove

Indicates the items this extension removes.

Fields of Remove

api: Option<String>profile: Option<String>comment: Option<String>items: Vec<InterfaceItem>

Trait Implementations

impl Clone for ExtensionChild[src]

impl Debug for ExtensionChild[src]

impl Eq for ExtensionChild[src]

impl PartialEq<ExtensionChild> for ExtensionChild[src]

impl StructuralEq for ExtensionChild[src]

impl StructuralPartialEq for ExtensionChild[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.