Struct rust_htslib::bcf::Reader
source · pub struct Reader { /* private fields */ }
Expand description
A VCF/BCF reader.
Implementations§
Trait Implementations§
source§impl Read for Reader
impl Read for Reader
source§fn empty_record(&self) -> Record
fn empty_record(&self) -> Record
Return empty record. Can be reused multiple times.
source§fn records(&mut self) -> Records<'_, Self> ⓘ
fn records(&mut self) -> Records<'_, Self> ⓘ
Return an iterator over all records of the VCF/BCF file.
source§fn 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
source§fn header(&self) -> &HeaderView
fn header(&self) -> &HeaderView
Return the header.
impl Send for Reader
Auto Trait Implementations§
impl RefUnwindSafe for Reader
impl !Sync for Reader
impl Unpin for Reader
impl UnwindSafe for Reader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more