Struct rust_htslib::bcf::header::HeaderView [] [src]

pub struct HeaderView {
    pub inner: *mut bcf_hdr_t,
}

Fields

inner: *mut bcf_hdr_t

Methods

impl HeaderView
[src]

fn new(inner: *mut bcf_hdr_t) -> Self

fn sample_count(&self) -> u32

fn samples(&self) -> Vec<&[u8]>

fn rid2name(&self, rid: u32) -> &[u8]

fn name2rid(&self, name: &[u8]) -> Result<u32RidError>

fn info_type(&self, tag: &[u8]) -> Result<(TagType, TagLength)TagTypeError>

fn format_type(&self, tag: &[u8]) -> Result<(TagType, TagLength)TagTypeError>