pub struct Index { /* private fields */ }Expand description
A FASTA index as created by SAMtools (.fai).
Implementations
impl Index
impl Index
pub fn new<R>(fai: R) -> Result<Index, Error>where
R: Read,
pub fn new<R>(fai: R) -> Result<Index, Error>where
R: Read,
Open a FASTA index from a given io::Read instance.
pub fn from_file<P>(path: &P) -> Result<Index, Error>where
P: AsRef<Path>,
pub fn from_file<P>(path: &P) -> Result<Index, Error>where
P: AsRef<Path>,
Open a FASTA index from a given file path.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more