Struct rust_htslib::bam::HeaderView
[−]
[src]
pub struct HeaderView { /* fields omitted */ }
Methods
impl HeaderView
[src]
fn new(inner: *mut bam_hdr_t) -> Self
[src]
Create a new HeaderView from the underlying Htslib type, and own it.
fn inner(&self) -> bam_hdr_t
[src]
fn tid(&self, name: &[u8]) -> Option<u32>
[src]
fn target_count(&self) -> u32
[src]
fn target_names(&self) -> Vec<&[u8]>
[src]
fn target_len(&self, tid: u32) -> Option<u32>
[src]
fn as_bytes<'a>(&'a self) -> &'a [u8]
[src]
Retrieve the textual SAM header as bytes