#[non_exhaustive]pub struct Tag {
pub name: String,
pub author: String,
pub contact: String,
}
Expand description
Tags are the little suffixes attached to extension names or items, indicating the author.
Some examples:
- KHR for Khronos extensions
- EXT for multi-vendor extensions
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
The name of the tag, e.g. “KHR”.
Author of the extensions associated with the tag, e.g. “Khronos”.
contact: String
Contact information for the extension author(s).
Trait Implementations§
impl Eq for Tag
impl StructuralEq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more