pub struct FastqPosition {
pub byte_offset: u64,
pub record_index: u64,
pub line_index: u8,
}Expand description
Location of a FASTQ or FASTA parsing error.
byte_offset is absolute within the original byte stream. record_index
is zero-based. line_index is 0 for header, 1 for sequence, 2 for
plus, and 3 for quality.
Fields§
§byte_offset: u64Absolute byte offset in the original input stream.
record_index: u64Zero-based FASTQ record index.
line_index: u8Zero-based line within the four-line FASTQ record.
Implementations§
Trait Implementations§
Source§impl Clone for FastqPosition
impl Clone for FastqPosition
Source§fn clone(&self) -> FastqPosition
fn clone(&self) -> FastqPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FastqPosition
impl Debug for FastqPosition
Source§impl Display for FastqPosition
impl Display for FastqPosition
impl Eq for FastqPosition
Source§impl PartialEq for FastqPosition
impl PartialEq for FastqPosition
Source§fn eq(&self, other: &FastqPosition) -> bool
fn eq(&self, other: &FastqPosition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FastqPosition
Auto Trait Implementations§
impl Freeze for FastqPosition
impl RefUnwindSafe for FastqPosition
impl Send for FastqPosition
impl Sync for FastqPosition
impl Unpin for FastqPosition
impl UnsafeUnpin for FastqPosition
impl UnwindSafe for FastqPosition
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