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
sourceimpl Clone for TypeMember
impl Clone for TypeMember
sourcefn clone(&self) -> TypeMember
fn clone(&self) -> TypeMember
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TypeMember
impl Debug for TypeMember
sourceimpl PartialEq<TypeMember> for TypeMember
impl PartialEq<TypeMember> for TypeMember
sourcefn 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 ==. Read more
impl Eq for TypeMember
impl StructuralEq for TypeMember
impl StructuralPartialEq for TypeMember
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more