Enum rust_htslib::bam::record::Aux [] [src]

pub enum Aux<'a> {
    Integer(i32),
    String(&'a [u8]),
    Float(f64),
    Char(u8),
}

Auxiliary record data.

Variants

Integer(i32)String(&'a [u8])Float(f64)Char(u8)

Methods

impl<'a> Aux<'a>
[src]

fn string(&self) -> &'a [u8]

Get string from aux data (panics if not a string).

fn float(&self) -> f64

fn integer(&self) -> i32

fn char(&self) -> u8

Trait Implementations

impl<'a> Debug for Aux<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> PartialEq for Aux<'a>
[src]

fn eq(&self, __arg_0: &Aux<'a>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Aux<'a>) -> bool

This method tests for !=.

impl<'a> Send for Aux<'a>
[src]

impl<'a> Sync for Aux<'a>
[src]