pub struct StreamingParser { /* private fields */ }Implementations§
Source§impl StreamingParser
impl StreamingParser
pub fn new(document: Rc<RefCell<BaseDocument>>, html: &str) -> Self
pub fn next_script(&mut self) -> Option<NodeId>
Sourcepub fn feed_written(&mut self, input: &StreamInput) -> Option<NodeId>
pub fn feed_written(&mut self, input: &StreamInput) -> Option<NodeId>
Consume inserted input without consuming the navigation’s remaining input.
pub fn finish(&mut self)
Auto Trait Implementations§
impl !Freeze for StreamingParser
impl !RefUnwindSafe for StreamingParser
impl !Send for StreamingParser
impl !Sync for StreamingParser
impl !UnwindSafe for StreamingParser
impl Unpin for StreamingParser
impl UnsafeUnpin for StreamingParser
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
impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
Source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
Source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
Source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert