pub struct EnumNode<'a> {
pub name: Box<'a, Node<'a>>,
pub enum_type: Option<Box<'a, Node<'a>>>,
pub implements: Option<Box<'a, Node<'a>>>,
pub body: Vec<'a, Node<'a>>,
}Fields§
§name: Box<'a, Node<'a>>§enum_type: Option<Box<'a, Node<'a>>>§implements: Option<Box<'a, Node<'a>>>§body: Vec<'a, Node<'a>>Implementations§
Trait Implementations§
impl<'a> StructuralPartialEq for EnumNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for EnumNode<'a>
impl<'a> !RefUnwindSafe for EnumNode<'a>
impl<'a> !Send for EnumNode<'a>
impl<'a> !Sync for EnumNode<'a>
impl<'a> Unpin for EnumNode<'a>
impl<'a> !UnwindSafe for EnumNode<'a>
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