[][src]Struct umgap::io::fasta::Writer

pub struct Writer<'a, W: Write> { /* fields omitted */ }

Writes to a file in the FASTA format.

Methods

impl<'a, W: Write> Writer<'a, W>[src]

pub fn new(write: W, separator: &'a str, wrap: bool) -> Self[src]

Constructs a writer from the specified Write. Items are printed separated by separator.

pub fn write_record(&mut self, record: Record) -> Result<()>[src]

Convenience method, see write_record_ref.

pub fn write_record_ref(&mut self, record: &Record) -> Result<()>[src]

Writes a Record to the Write, in FASTA format

Auto Trait Implementations

impl<'a, W> Sync for Writer<'a, W> where
    W: Sync

impl<'a, W> Send for Writer<'a, W> where
    W: Send

impl<'a, W> Unpin for Writer<'a, W> where
    W: Unpin

impl<'a, W> RefUnwindSafe for Writer<'a, W> where
    W: RefUnwindSafe

impl<'a, W> UnwindSafe for Writer<'a, W> where
    W: UnwindSafe

Blanket Implementations

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]