pub struct VariantNode {
pub name: String,
pub associated_data: Option<Box<AstNode>>,
}Fields§
§name: String§associated_data: Option<Box<AstNode>>Trait Implementations§
Source§impl Debug for VariantNode
impl Debug for VariantNode
Source§impl PartialEq for VariantNode
impl PartialEq for VariantNode
impl StructuralPartialEq for VariantNode
Auto Trait Implementations§
impl Freeze for VariantNode
impl RefUnwindSafe for VariantNode
impl Send for VariantNode
impl Sync for VariantNode
impl Unpin for VariantNode
impl UnwindSafe for VariantNode
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