pub struct SingleByteDelimParser<'a> { /* private fields */ }
Expand description
A SingleByteDelimParser
is a fast parser of fields from from a buffer.
Implementations
sourceimpl<'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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more