Struct vk_parse::Extension[][src]

#[non_exhaustive]
pub struct Extension {
Show 18 fields pub name: String, pub comment: Option<String>, pub number: Option<i64>, pub protect: Option<String>, pub platform: Option<String>, pub author: Option<String>, pub contact: Option<String>, pub ext_type: Option<String>, pub requires: Option<String>, pub requires_core: Option<String>, pub supported: Option<String>, pub deprecatedby: Option<String>, pub promotedto: Option<String>, pub obsoletedby: Option<String>, pub provisional: bool, pub specialuse: Option<String>, pub sortorder: Option<i64>, pub children: Vec<ExtensionChild>,
}

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
name: String

Name of the extension.

comment: Option<String>

Human-readable description.

number: Option<i64>

The unique index of this extension.

protect: Option<String>platform: Option<String>

Which platform it works with, if any.

author: Option<String>

Tag name of the author.

contact: Option<String>

Contact information for extension author(s).

ext_type: Option<String>

The level at which the extension applies (instance / device).

requires: Option<String>requires_core: Option<String>supported: Option<String>deprecatedby: Option<String>promotedto: Option<String>

Whether this extension was promoted to core, and in which version.

obsoletedby: Option<String>provisional: bool

‘true’ if this extension is released provisionally

specialuse: Option<String>

The items which make up this extension.

sortorder: Option<i64>

Relative sortorder

children: Vec<ExtensionChild>

The items which make up this extension.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.