[][src]Struct seq_io::Position

pub struct Position { /* fields omitted */ }

Holds line number and byte offset of a FASTQ record

Implementations

impl Position[src]

pub fn new() -> Position[src]

pub fn line(&self) -> u64[src]

Line index (0-based)

pub fn byte(&self) -> u64[src]

Byte offset within the input

pub fn record(&self) -> u64[src]

Record index (0-based) in the input

pub fn set_line(&mut self, line: u64) -> &mut Self[src]

Sets the line index (0-based)

pub fn set_byte(&mut self, byte: u64) -> &mut Self[src]

Sets the byte offset

pub fn set_record(&mut self, idx: u64) -> &mut Self[src]

Sets the record index (0-based)

Trait Implementations

impl Clone for Position[src]

impl Debug for Position[src]

impl Default for Position[src]

impl Eq for Position[src]

impl PartialEq<Position> for Position[src]

impl StructuralEq for Position[src]

impl StructuralPartialEq for Position[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.