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

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

Auxiliary record data.

Variants

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

Methods

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

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

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

pub fn float(&self) -> f64[src]

pub fn integer(&self) -> i64[src]

pub fn char(&self) -> u8[src]

Trait Implementations

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

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

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

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

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

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

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

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]