[−][src]Struct rust_htslib::bcf::IndexedReader
An indexed VCF/BCF reader.
Implementations
impl IndexedReader[src]
pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Self>[src]
pub fn from_url(url: &Url) -> Result<Self>[src]
Create a new IndexedReader from an URL.
pub fn fetch(&mut self, rid: u32, start: u64, end: u64) -> Result<()>[src]
Jump to the given region.
Arguments
rid- numeric ID of the reference to jump to; useHeaderView::name2ridfor resolving contig name to ID.start-0-based start coordinate of region on reference.end-0-based end coordinate of region on reference.
Trait Implementations
impl Debug for IndexedReader[src]
impl Drop for IndexedReader[src]
impl Read for IndexedReader[src]
pub fn read(&mut self, record: &mut Record) -> Option<Result<()>>[src]
pub fn records(&mut self) -> Records<'_, Self>ⓘ[src]
pub fn set_threads(&mut self, n_threads: usize) -> Result<()>[src]
pub fn header(&self) -> &HeaderView[src]
pub fn empty_record(&self) -> Record[src]
impl Send for IndexedReader[src]
Auto Trait Implementations
impl !RefUnwindSafe for IndexedReader[src]
impl !Sync for IndexedReader[src]
impl Unpin for IndexedReader[src]
impl UnwindSafe for IndexedReader[src]
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>,