pub struct SimpleHtmlEventSource { /* private fields */ }Implementations§
Source§impl SimpleHtmlEventSource
impl SimpleHtmlEventSource
pub fn from_bytes( name: impl Into<String>, format: InputFormat, bytes: Vec<u8>, ) -> Self
pub fn from_str(name: impl Into<String>, format: InputFormat, s: &str) -> Self
Trait Implementations§
Source§impl Clone for SimpleHtmlEventSource
impl Clone for SimpleHtmlEventSource
Source§fn clone(&self) -> SimpleHtmlEventSource
fn clone(&self) -> SimpleHtmlEventSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl EventSource for SimpleHtmlEventSource
impl EventSource for SimpleHtmlEventSource
fn source_name(&self) -> &str
fn format(&self) -> InputFormat
fn next_event(&mut self) -> Result<Option<ParseEvent>, ValidatorError>
Auto Trait Implementations§
impl Freeze for SimpleHtmlEventSource
impl RefUnwindSafe for SimpleHtmlEventSource
impl Send for SimpleHtmlEventSource
impl Sync for SimpleHtmlEventSource
impl Unpin for SimpleHtmlEventSource
impl UnsafeUnpin for SimpleHtmlEventSource
impl UnwindSafe for SimpleHtmlEventSource
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