pub struct EnumItem<'tree> {
pub span: Span,
pub body: EnumVariantList<'tree>,
pub name: TypeIdentifier<'tree>,
pub type_parameters: Option<TypeParameters<'tree>>,
pub children: Vec<EnumItemChildren<'tree>>,
}Fields§
§span: Span§body: EnumVariantList<'tree>§name: TypeIdentifier<'tree>§type_parameters: Option<TypeParameters<'tree>>§children: Vec<EnumItemChildren<'tree>>Trait Implementations§
impl<'tree> Eq for EnumItem<'tree>
impl<'tree> StructuralPartialEq for EnumItem<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for EnumItem<'tree>
impl<'tree> RefUnwindSafe for EnumItem<'tree>
impl<'tree> Send for EnumItem<'tree>
impl<'tree> Sync for EnumItem<'tree>
impl<'tree> Unpin for EnumItem<'tree>
impl<'tree> UnsafeUnpin for EnumItem<'tree>
impl<'tree> UnwindSafe for EnumItem<'tree>
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