pub struct Spans {
pub span: Span,
pub key: Option<Span>,
pub children: Vec<Spans>,
}Expand description
Where each value of a parsed document is: the value’s span, its key’s (map entries), and its children’s, in the same order as the value’s.
Fields§
§span: Span§key: Option<Span>§children: Vec<Spans>Trait Implementations§
impl StructuralPartialEq for Spans
Auto Trait Implementations§
impl Freeze for Spans
impl RefUnwindSafe for Spans
impl Send for Spans
impl Sync for Spans
impl Unpin for Spans
impl UnsafeUnpin for Spans
impl UnwindSafe for Spans
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