Struct rust_htslib::bcf::Reader
source · [−]pub struct Reader { /* private fields */ }
Expand description
A VCF/BCF reader.
Implementations
Trait Implementations
sourceimpl Read for Reader
impl Read for Reader
sourcefn empty_record(&self) -> Record
fn empty_record(&self) -> Record
Return empty record. Can be reused multiple times.
sourcefn records(&mut self) -> Records<'_, Self>ⓘNotable traits for Records<'a, R>impl<'a, R: Read> Iterator for Records<'a, R> type Item = Result<Record>;
fn records(&mut self) -> Records<'_, Self>ⓘNotable traits for Records<'a, R>impl<'a, R: Read> Iterator for Records<'a, R> type Item = Result<Record>;
Return an iterator over all records of the VCF/BCF file.
sourcefn set_threads(&mut self, n_threads: usize) -> Result<()>
fn set_threads(&mut self, n_threads: usize) -> Result<()>
Activate multi-threaded BCF/VCF read support in htslib. This should permit faster
reading of large VCF files. Read more
sourcefn header(&self) -> &HeaderView
fn header(&self) -> &HeaderView
Return the header.
impl Send for Reader
Auto Trait Implementations
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