pub struct SingleByteDelimParser<'a> { /* private fields */ }
Expand description
A SingleByteDelimParser
is a fast parser of fields from from a buffer.
Implementations§
source§impl<'a> SingleByteDelimParser<'a>
impl<'a> SingleByteDelimParser<'a>
sourcepub fn new(
line_terminator: LineTerminator,
output_delimiter: &'a [u8],
fields: &'a [FieldRange],
sep: u8,
) -> Self
pub fn new( line_terminator: LineTerminator, output_delimiter: &'a [u8], fields: &'a [FieldRange], sep: u8, ) -> Self
Create a SingleByteDelimParser
to process buffers using the input configuration.
sourcepub fn reset(&mut self)
pub fn reset(&mut self)
Clear all fields of the SingleByteDelimParser
.
Auto Trait Implementations§
impl<'a> Freeze for SingleByteDelimParser<'a>
impl<'a> RefUnwindSafe for SingleByteDelimParser<'a>
impl<'a> Send for SingleByteDelimParser<'a>
impl<'a> Sync for SingleByteDelimParser<'a>
impl<'a> Unpin for SingleByteDelimParser<'a>
impl<'a> UnwindSafe for SingleByteDelimParser<'a>
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