Enum vk_parse::EnumsChild
source · #[non_exhaustive]pub enum EnumsChild {
Enum(Enum),
Unused(Unused),
Comment(String),
}
Expand description
An item which forms an enum.
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.
Enum(Enum)
Actual named enum.
Unused(Unused)
An unused range of enum values.
Comment(String)
Human-readable comment.
Trait Implementations§
source§impl Clone for EnumsChild
impl Clone for EnumsChild
source§fn clone(&self) -> EnumsChild
fn clone(&self) -> EnumsChild
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 EnumsChild
impl Debug for EnumsChild
source§impl PartialEq<EnumsChild> for EnumsChild
impl PartialEq<EnumsChild> for EnumsChild
source§fn eq(&self, other: &EnumsChild) -> bool
fn eq(&self, other: &EnumsChild) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EnumsChild
impl StructuralEq for EnumsChild
impl StructuralPartialEq for EnumsChild
Auto Trait Implementations§
impl RefUnwindSafe for EnumsChild
impl Send for EnumsChild
impl Sync for EnumsChild
impl Unpin for EnumsChild
impl UnwindSafe for EnumsChild
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