[−][src]Struct conshomfold::Reader
A FASTA reader.
Implementations
impl Reader<File>
[src]
pub fn from_file<P>(path: P) -> Result<Reader<File>, Error> where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Read FASTA from given file path.
impl<R> Reader<R> where
R: Read,
[src]
R: Read,
pub fn new(reader: R) -> Reader<R>
[src]
Create a new Fasta reader given an instance of io::Read
.
pub fn read(&mut self, record: &mut Record) -> Result<(), Error>
[src]
Read next FASTA record into the given Record
.
pub fn records(self) -> Records<R>
[src]
Return an iterator over the records of this Fasta file.
Trait Implementations
Auto Trait Implementations
impl<R> RefUnwindSafe for Reader<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for Reader<R> where
R: Send,
R: Send,
impl<R> Sync for Reader<R> where
R: Sync,
R: Sync,
impl<R> Unpin for Reader<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for Reader<R> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,