Enum vk_parse::TypeMember
source · #[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)
Human-readable comment.
Definition(TypeMemberDefinition)
A structure field definition.
Trait Implementations§
source§impl Clone for TypeMember
impl Clone for TypeMember
source§fn clone(&self) -> TypeMember
fn clone(&self) -> TypeMember
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TypeMember
impl Debug for TypeMember
source§impl PartialEq<TypeMember> for TypeMember
impl PartialEq<TypeMember> for TypeMember
source§fn eq(&self, other: &TypeMember) -> bool
fn eq(&self, other: &TypeMember) -> bool
This method tests for
self and other values to be equal, and is used
by ==.