pub enum DocumentChildren<'tree> {
BlockNode(Box<BlockNode<'tree>>),
FlowNode(Box<FlowNode<'tree>>),
ReservedDirective(Box<ReservedDirective<'tree>>),
TagDirective(Box<TagDirective<'tree>>),
YamlDirective(Box<YamlDirective<'tree>>),
}Variants§
BlockNode(Box<BlockNode<'tree>>)
FlowNode(Box<FlowNode<'tree>>)
ReservedDirective(Box<ReservedDirective<'tree>>)
TagDirective(Box<TagDirective<'tree>>)
YamlDirective(Box<YamlDirective<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for DocumentChildren<'tree>
impl<'tree> Clone for DocumentChildren<'tree>
Source§fn clone(&self) -> DocumentChildren<'tree>
fn clone(&self) -> DocumentChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for DocumentChildren<'tree>
impl<'tree> Debug for DocumentChildren<'tree>
Source§impl<'tree> FromNode<'tree> for DocumentChildren<'tree>
impl<'tree> FromNode<'tree> for DocumentChildren<'tree>
Source§impl<'tree> PartialEq for DocumentChildren<'tree>
impl<'tree> PartialEq for DocumentChildren<'tree>
Source§impl Spanned for DocumentChildren<'_>
impl Spanned for DocumentChildren<'_>
impl<'tree> Eq for DocumentChildren<'tree>
impl<'tree> StructuralPartialEq for DocumentChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for DocumentChildren<'tree>
impl<'tree> RefUnwindSafe for DocumentChildren<'tree>
impl<'tree> Send for DocumentChildren<'tree>
impl<'tree> Sync for DocumentChildren<'tree>
impl<'tree> Unpin for DocumentChildren<'tree>
impl<'tree> UnsafeUnpin for DocumentChildren<'tree>
impl<'tree> UnwindSafe for DocumentChildren<'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