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§
source§impl<'s> PartialEq for Scope<'s>
impl<'s> PartialEq for Scope<'s>
impl<'s> Copy for Scope<'s>
impl<'s> Eq for Scope<'s>
impl<'s> StructuralEq 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§
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