Enum vk_parse::TypeMember [−][src]
#[non_exhaustive]
pub enum TypeMember {
Comment(String),
Definition(TypeMemberDefinition),
}
Expand description
A member of a type definition, i.e. a struct member.
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.
Comment(String)
Tuple Fields
0: String
Human-readable comment.
Definition(TypeMemberDefinition)
Tuple Fields
A structure field definition.
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 TypeMember
impl Send for TypeMember
impl Sync for TypeMember
impl Unpin for TypeMember
impl UnwindSafe for TypeMember
Blanket Implementations
Mutably borrows from an owned value. Read more