Enum vk_parse::ExtensionChild [−][src]
#[non_exhaustive]
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>,
},
}
Expand description
A part of an extension declaration.
Extensions either include functionality from the spec, or remove some functionality.
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.
Require
Fields
items: Vec<InterfaceItem>
The items which form this require block.
Indicates the items which this extension requires to work.
Remove
Indicates the items this extension removes.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ExtensionChild
impl Send for ExtensionChild
impl Sync for ExtensionChild
impl Unpin for ExtensionChild
impl UnwindSafe for ExtensionChild
Blanket Implementations
Mutably borrows from an owned value. Read more