pub enum EnumMemberKind {
Case(EnumCase),
Method(MethodDecl),
ClassConst(ClassConstDecl),
TraitUse(TraitUseDecl),
}Expand description
The kind of an enum member.
Variants§
Case(EnumCase)
Enum case.
Method(MethodDecl)
Method declaration.
ClassConst(ClassConstDecl)
Class constant declaration.
TraitUse(TraitUseDecl)
Trait use clause.
Trait Implementations§
Source§impl Clone for EnumMemberKind
impl Clone for EnumMemberKind
Source§impl Debug for EnumMemberKind
impl Debug for EnumMemberKind
Auto Trait Implementations§
impl Freeze for EnumMemberKind
impl RefUnwindSafe for EnumMemberKind
impl Send for EnumMemberKind
impl Sync for EnumMemberKind
impl Unpin for EnumMemberKind
impl UnsafeUnpin for EnumMemberKind
impl UnwindSafe for EnumMemberKind
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