[][src]Struct bio::io::fastq::Record

pub struct Record { /* fields omitted */ }

A FastQ record.

Methods

impl Record[src]

pub fn new() -> Self[src]

Create a new, empty FastQ record.

pub fn with_attrs(
    id: &str,
    desc: Option<&str>,
    seq: TextSlice,
    qual: &[u8]
) -> Self
[src]

Create a new FastQ record from given attributes.

pub fn is_empty(&self) -> bool[src]

Check if record is empty.

pub fn check(&self) -> Result<(), &str>[src]

Check validity of FastQ record.

pub fn id(&self) -> &str[src]

Return the id of the record.

pub fn desc(&self) -> Option<&str>[src]

Return descriptions if present.

pub fn seq(&self) -> TextSlice[src]

Return the sequence of the record.

pub fn qual(&self) -> &[u8][src]

Return the base qualities of the record.

Trait Implementations

impl Default for Record[src]

impl Clone for Record[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Record[src]

impl Display for Record[src]

impl SequenceRead for Record[src]

impl Serialize for Record[src]

impl<'de> Deserialize<'de> for Record[src]

Auto Trait Implementations

impl Send for Record

impl Unpin for Record

impl Sync for Record

impl UnwindSafe for Record

impl RefUnwindSafe for Record

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]