Struct noodles_bgzf::indexed_reader::Builder
source · pub struct Builder { /* private fields */ }
Expand description
An indexed BGZF reader builder.
Implementations§
source§impl Builder
impl Builder
sourcepub fn build_from_path<P>(self, src: P) -> Result<IndexedReader<File>>
pub fn build_from_path<P>(self, src: P) -> Result<IndexedReader<File>>
Builds an indexed BGZF reader from a path.
sourcepub fn build_from_reader<R>(self, reader: R) -> Result<IndexedReader<R>>where
R: Read,
pub fn build_from_reader<R>(self, reader: R) -> Result<IndexedReader<R>>where
R: Read,
Builds a indexed BGZF reader from a reader.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
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