pub enum NodeKind {
Enum {
variants: Variants,
missing_variant: Option<Variant>,
},
Struct {
members: Vec<Member>,
},
Terminal {
is_keyword: bool,
members: Vec<Member>,
},
List {
element_type: String,
},
SeparatedList {
element_type: String,
separator_type: String,
},
Token {
is_keyword: bool,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnwindSafe for NodeKind
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