Enum debris_parser::node::NodeKind
source · pub enum NodeKind {
Show 34 variants
Assignment,
AttributeList,
Block,
Branch,
BranchElse,
ControlFlow,
Error,
FormatString,
Function,
FunctionPattern,
FunctionPatternParams,
Import,
InfixOp,
InfLoop,
Module,
ParamDeclaration,
ParamListDeclaration,
ParamList,
ParensValue,
Path,
Pattern,
PostfixOp,
PrefixOp,
Root,
Statement,
StructDef,
StructLiteral,
StructLiteralItem,
StructVar,
StructVariables,
Tuple,
Update,
Value,
WhileLoop,
}
Variants§
Assignment
AttributeList
Block
Branch
BranchElse
ControlFlow
Error
FormatString
Function
FunctionPattern
FunctionPatternParams
Import
InfixOp
InfLoop
Module
ParamDeclaration
ParamListDeclaration
ParamList
ParensValue
Path
Pattern
PostfixOp
PrefixOp
Root
Statement
StructDef
StructLiteral
StructLiteralItem
StructVar
StructVariables
Tuple
Update
Value
WhileLoop
Trait Implementations§
source§impl PartialEq for NodeKind
impl PartialEq for NodeKind
impl Copy for NodeKind
impl Eq for NodeKind
impl StructuralEq for NodeKind
impl StructuralPartialEq for NodeKind
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.