pub struct Parser { /* private fields */ }
Implementations§
Source§impl Parser
impl Parser
pub fn new(max_capacity: usize) -> Self
pub fn parse(&mut self, padded_string: &String) -> Result<Element<'_>>
pub fn parse_into_document<'d>( &self, doc: &'d mut Document, padded_string: &String, ) -> Result<Element<'d>>
pub fn parse_many(&mut self, padded_string: &String) -> Result<DocumentStream>
pub fn parse_batch( &mut self, padded_string: &String, batch_size: usize, ) -> Result<DocumentStream>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parser
impl RefUnwindSafe for Parser
impl !Send for Parser
impl !Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
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