[][src]Struct rust_genomics::FASTA

pub struct FASTA {
    pub name: String,
    pub content: Vec<FastaRecord>,
}

A FASTA file is represented here

Fields

name: String

name/path to file

content: Vec<FastaRecord>

file content, containing a vector of records

Implementations

impl FASTA[src]

pub fn read_fasta(path: &str) -> FASTA[src]

Returns and generates a FASTA given a path to a .fasta file

pub fn slow_read_fasta(path: &str) -> FASTA[src]

Returns and generates a FASTA given a path to a .fasta file (slow version)

pub fn rayon_read_fasta(path: &str) -> FASTA[src]

Returns and generates a FASTA given a path to a .fasta file (using rayon)

Trait Implementations

impl Display for FASTA[src]

Auto Trait Implementations

impl RefUnwindSafe for FASTA

impl Send for FASTA

impl Sync for FASTA

impl Unpin for FASTA

impl UnwindSafe for FASTA

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> ToString for T where
    T: Display + ?Sized
[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<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]