pub struct EnumNode {
pub name: String,
pub variants: Vec<VariantNode>,
}Fields§
§name: String§variants: Vec<VariantNode>Trait Implementations§
impl StructuralPartialEq for EnumNode
Auto Trait Implementations§
impl Freeze for EnumNode
impl RefUnwindSafe for EnumNode
impl Send for EnumNode
impl Sync for EnumNode
impl Unpin for EnumNode
impl UnwindSafe for EnumNode
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