pub struct SeqReader<'doc> { /* private fields */ }Expand description
A sequential StAX reader over the whole document — the classic-StAX entry
point. Unlike the record API it surfaces every element (including the root
and any depth-1 text); internal-subset <!ENTITY> definitions are captured
lazily from the DOCTYPE as the document is read.
As with RecordReader, events are tied to the reader and namespace
prefixes are surfaced lexically.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'doc> Forget for SeqReader<'doc>
impl<'doc> Freeze for SeqReader<'doc>
impl<'doc> RefUnwindSafe for SeqReader<'doc>
impl<'doc> Send for SeqReader<'doc>
impl<'doc> Sync for SeqReader<'doc>
impl<'doc> Unpin for SeqReader<'doc>
impl<'doc> UnsafeUnpin for SeqReader<'doc>
impl<'doc> UnwindSafe for SeqReader<'doc>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more