[][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)

Implementations

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> Clone for Aux<'a>[src]

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

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

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

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

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

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for Aux<'a>

impl<'a> Unpin for Aux<'a>

impl<'a> UnwindSafe for Aux<'a>

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.