Struct noodles_bcf::io::writer::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A BCF writer builder.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_compression_method(
self,
compression_method: CompressionMethod,
) -> Self
pub fn set_compression_method( self, compression_method: CompressionMethod, ) -> Self
Sets the compression method.
§Examples
use noodles_bcf::io::{writer::Builder, CompressionMethod};
let builder = Builder::default().set_compression_method(CompressionMethod::Bgzf);
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