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 for TypeMember
impl PartialEq 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 ==.impl Eq for TypeMember
impl StructuralPartialEq for TypeMember
Auto Trait Implementations§
impl Freeze for TypeMember
impl RefUnwindSafe for TypeMember
impl Send for TypeMember
impl Sync for TypeMember
impl Unpin for TypeMember
impl UnwindSafe for TypeMember
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