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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)