pub struct Builder { /* private fields */ }
Expand description
An async CRAM reader builder.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn set_reference_sequence_repository(
self,
reference_sequence_repository: Repository,
) -> Self
pub fn set_reference_sequence_repository( self, reference_sequence_repository: Repository, ) -> Self
Sets the reference sequence repository.
§Examples
use noodles_cram::r#async::io::reader::Builder;
use noodles_fasta as fasta;
let reference_sequence_repository = fasta::Repository::default();
let builder = Builder::default()
.set_reference_sequence_repository(reference_sequence_repository);
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