pub struct Position { /* private fields */ }
Expand description
A position in CSV data.
A position is used to report errors in CSV data. All positions include the byte offset, line number and record index at which the error occurred.
Byte offsets and record indices start at 0
. Line numbers start at 1
.
A CSV reader will automatically assign the position of each record.
Implementations§
Trait Implementations§
source§impl PartialEq<Position> for Position
impl PartialEq<Position> for Position
impl Eq for Position
impl StructuralEq for Position
impl StructuralPartialEq for Position
Auto Trait Implementations§
impl RefUnwindSafe for Position
impl Send for Position
impl Sync for Position
impl Unpin for Position
impl UnwindSafe for Position
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