Struct csv_diff::diff_row::ByteRecordLineInfo
source · pub struct ByteRecordLineInfo { /* private fields */ }
Implementations§
source§impl ByteRecordLineInfo
impl ByteRecordLineInfo
pub fn new(byte_record: ByteRecord, line: u64) -> Self
pub fn byte_record(&self) -> &ByteRecord
pub fn into_byte_record(self) -> ByteRecord
pub fn line(&self) -> u64
Trait Implementations§
source§impl Clone for ByteRecordLineInfo
impl Clone for ByteRecordLineInfo
source§fn clone(&self) -> ByteRecordLineInfo
fn clone(&self) -> ByteRecordLineInfo
Returns a copy 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 Debug for ByteRecordLineInfo
impl Debug for ByteRecordLineInfo
source§impl PartialEq for ByteRecordLineInfo
impl PartialEq for ByteRecordLineInfo
source§fn eq(&self, other: &ByteRecordLineInfo) -> bool
fn eq(&self, other: &ByteRecordLineInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ByteRecordLineInfo
Auto Trait Implementations§
impl RefUnwindSafe for ByteRecordLineInfo
impl Send for ByteRecordLineInfo
impl Sync for ByteRecordLineInfo
impl Unpin for ByteRecordLineInfo
impl UnwindSafe for ByteRecordLineInfo
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