Struct rust_htslib::bam::HeaderView [−][src]
pub struct HeaderView { /* fields omitted */ }
Methods
impl HeaderView
[src]
impl HeaderView
pub fn from_header(header: &Header) -> Self
[src]
pub fn from_header(header: &Header) -> Self
Create a new HeaderView from a pre-populated Header object
pub fn new(inner: *mut bam_hdr_t) -> Self
[src]
pub fn new(inner: *mut bam_hdr_t) -> Self
Create a new HeaderView from the underlying Htslib type, and own it.
pub fn inner(&self) -> bam_hdr_t
[src]
pub fn inner(&self) -> bam_hdr_t
pub fn inner_ptr(&self) -> *const bam_hdr_t
[src]
pub fn inner_ptr(&self) -> *const bam_hdr_t
pub fn inner_ptr_mut(&self) -> *mut bam_hdr_t
[src]
pub fn inner_ptr_mut(&self) -> *mut bam_hdr_t
pub fn tid(&self, name: &[u8]) -> Option<u32>
[src]
pub fn tid(&self, name: &[u8]) -> Option<u32>
pub fn target_count(&self) -> u32
[src]
pub fn target_count(&self) -> u32
pub fn target_names(&self) -> Vec<&[u8]>
[src]
pub fn target_names(&self) -> Vec<&[u8]>
pub fn target_len(&self, tid: u32) -> Option<u32>
[src]
pub fn target_len(&self, tid: u32) -> Option<u32>
pub fn as_bytes<'a>(&'a self) -> &'a [u8]
[src]
pub fn as_bytes<'a>(&'a self) -> &'a [u8]
Retrieve the textual SAM header as bytes
Trait Implementations
impl Debug for HeaderView
[src]
impl Debug for HeaderView
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for HeaderView
[src]
impl Clone for HeaderView
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Drop for HeaderView
[src]
impl Drop for HeaderView
Auto Trait Implementations
impl !Send for HeaderView
impl !Send for HeaderView
impl !Sync for HeaderView
impl !Sync for HeaderView