pub enum AnyNode<'tree> {
Show 37 variants
Alias(Alias<'tree>),
Anchor(Anchor<'tree>),
BlockMapping(BlockMapping<'tree>),
BlockMappingPair(BlockMappingPair<'tree>),
BlockNode(BlockNode<'tree>),
BlockScalar(BlockScalar<'tree>),
BlockSequence(BlockSequence<'tree>),
BlockSequenceItem(BlockSequenceItem<'tree>),
Document(Document<'tree>),
DoubleQuoteScalar(DoubleQuoteScalar<'tree>),
FlowMapping(FlowMapping<'tree>),
FlowNode(FlowNode<'tree>),
FlowPair(FlowPair<'tree>),
FlowSequence(FlowSequence<'tree>),
PlainScalar(PlainScalar<'tree>),
ReservedDirective(ReservedDirective<'tree>),
SingleQuoteScalar(SingleQuoteScalar<'tree>),
Stream(Stream<'tree>),
TagDirective(TagDirective<'tree>),
YamlDirective(YamlDirective<'tree>),
AliasName(AliasName<'tree>),
AnchorName(AnchorName<'tree>),
BooleanScalar(BooleanScalar<'tree>),
Comment(Comment<'tree>),
DirectiveName(DirectiveName<'tree>),
DirectiveParameter(DirectiveParameter<'tree>),
EscapeSequence(EscapeSequence<'tree>),
FloatScalar(FloatScalar<'tree>),
IntegerScalar(IntegerScalar<'tree>),
NullScalar(NullScalar<'tree>),
StringScalar(StringScalar<'tree>),
Tag(Tag<'tree>),
TagHandle(TagHandle<'tree>),
TagPrefix(TagPrefix<'tree>),
TimestampScalar(TimestampScalar<'tree>),
YamlVersion(YamlVersion<'tree>),
Unknown(Node<'tree>),
}Variants§
Alias(Alias<'tree>)
Anchor(Anchor<'tree>)
BlockMapping(BlockMapping<'tree>)
BlockMappingPair(BlockMappingPair<'tree>)
BlockNode(BlockNode<'tree>)
BlockScalar(BlockScalar<'tree>)
BlockSequence(BlockSequence<'tree>)
BlockSequenceItem(BlockSequenceItem<'tree>)
Document(Document<'tree>)
DoubleQuoteScalar(DoubleQuoteScalar<'tree>)
FlowMapping(FlowMapping<'tree>)
FlowNode(FlowNode<'tree>)
FlowPair(FlowPair<'tree>)
FlowSequence(FlowSequence<'tree>)
PlainScalar(PlainScalar<'tree>)
ReservedDirective(ReservedDirective<'tree>)
SingleQuoteScalar(SingleQuoteScalar<'tree>)
Stream(Stream<'tree>)
TagDirective(TagDirective<'tree>)
YamlDirective(YamlDirective<'tree>)
AliasName(AliasName<'tree>)
AnchorName(AnchorName<'tree>)
BooleanScalar(BooleanScalar<'tree>)
Comment(Comment<'tree>)
DirectiveName(DirectiveName<'tree>)
DirectiveParameter(DirectiveParameter<'tree>)
EscapeSequence(EscapeSequence<'tree>)
FloatScalar(FloatScalar<'tree>)
IntegerScalar(IntegerScalar<'tree>)
NullScalar(NullScalar<'tree>)
StringScalar(StringScalar<'tree>)
Tag(Tag<'tree>)
TagHandle(TagHandle<'tree>)
TagPrefix(TagPrefix<'tree>)
TimestampScalar(TimestampScalar<'tree>)
YamlVersion(YamlVersion<'tree>)
Unknown(Node<'tree>)
Implementations§
Trait Implementations§
impl<'tree> Eq for AnyNode<'tree>
impl<'tree> StructuralPartialEq for AnyNode<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for AnyNode<'tree>
impl<'tree> RefUnwindSafe for AnyNode<'tree>
impl<'tree> Send for AnyNode<'tree>
impl<'tree> Sync for AnyNode<'tree>
impl<'tree> Unpin for AnyNode<'tree>
impl<'tree> UnsafeUnpin for AnyNode<'tree>
impl<'tree> UnwindSafe for AnyNode<'tree>
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