Struct rust_htslib::bam::HeaderView
source · pub struct HeaderView { /* private fields */ }
Implementations§
source§impl HeaderView
impl HeaderView
sourcepub fn from_header(header: &Header) -> Self
pub fn from_header(header: &Header) -> Self
Create a new HeaderView from a pre-populated Header object
sourcepub fn from_bytes(header_string: &[u8]) -> Self
pub fn from_bytes(header_string: &[u8]) -> Self
Create a new HeaderView from bytes
sourcepub fn new(inner: *mut bam_hdr_t) -> Self
pub fn new(inner: *mut bam_hdr_t) -> Self
Create a new HeaderView from the underlying Htslib type, and own it.