pub struct Scope<'s> {
pub record: Record<'s>,
pub child_begin_position: u64,
pub child_end_position: u64,
pub next_sibling_position: u64,
}
Expand description
Used when parsing a Stream.
Fields
record: Record<'s>
child_begin_position: u64
Stream offset for first child.
child_end_position: u64
Stream offset after last child.
next_sibling_position: u64
Stream offset for next sibling (if any).
Trait Implementations
impl<'s> Copy for Scope<'s>
impl<'s> StructuralPartialEq for Scope<'s>
Auto Trait Implementations
impl<'s> RefUnwindSafe for Scope<'s>
impl<'s> Send for Scope<'s>
impl<'s> Sync for Scope<'s>
impl<'s> Unpin for Scope<'s>
impl<'s> UnwindSafe for Scope<'s>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more