pub enum NodeStep {
Show 45 variants
TypeExpression,
Body,
ValueInputType(Name),
ValueInputAnnotation(Name),
ValueOutputType,
DerivedBaseType,
PartialTypeExpression,
CustomConstructor(Name),
ConstructorArgument(usize),
RecordField(Name),
ExtensibleRecordField(Name),
TypeFunctionParameter,
TypeFunctionResult,
ReferenceArgument(usize),
ApplyFunction,
ApplyArgument,
FieldSubject,
DestructurePattern,
DestructureValue,
DestructureBody,
IfCondition,
IfThen,
IfElse,
LambdaPattern,
LambdaBody,
LetDefinition(Name),
LetBody,
ListElement(usize),
PatternMatchSubject,
TupleElement(usize),
PatternMatchCasePattern(usize),
PatternMatchCaseBody(usize),
UpdateSubject,
UpdateField(Name),
AsPatternChild,
PatternTupleElement(usize),
PatternConstructorArgument(usize),
HeadTailHead,
HeadTailTail,
ExternalFallback,
IncompletePartialBody,
HoleExpectedType,
InferredType,
AnnotationEntry(usize),
AnnotationArgument(usize),
}Expand description
One typed child selection. Variants do not carry irrelevant names or indices.
Variants§
TypeExpression
Body
ValueInputType(Name)
ValueInputAnnotation(Name)
ValueOutputType
DerivedBaseType
PartialTypeExpression
CustomConstructor(Name)
ConstructorArgument(usize)
RecordField(Name)
ExtensibleRecordField(Name)
TypeFunctionParameter
TypeFunctionResult
ReferenceArgument(usize)
ApplyFunction
ApplyArgument
FieldSubject
DestructurePattern
DestructureValue
DestructureBody
IfCondition
IfThen
IfElse
LambdaPattern
LambdaBody
LetDefinition(Name)
LetBody
ListElement(usize)
PatternMatchSubject
TupleElement(usize)
PatternMatchCasePattern(usize)
PatternMatchCaseBody(usize)
UpdateSubject
UpdateField(Name)
AsPatternChild
PatternTupleElement(usize)
PatternConstructorArgument(usize)
HeadTailHead
HeadTailTail
ExternalFallback
IncompletePartialBody
HoleExpectedType
InferredType
The semantic Type stored in a Value or Pattern’s inferredType attribute.
AnnotationEntry(usize)
An ordered annotation entry on a specification.
AnnotationArgument(usize)
An ordered Value argument within a structured annotation.
Implementations§
Trait Implementations§
impl Eq for NodeStep
impl StructuralPartialEq for NodeStep
Auto Trait Implementations§
impl Freeze for NodeStep
impl RefUnwindSafe for NodeStep
impl Send for NodeStep
impl Sync for NodeStep
impl Unpin for NodeStep
impl UnsafeUnpin for NodeStep
impl UnwindSafe for NodeStep
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.