Enum rust_htslib::bam::record::Aux
[−]
[src]
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> Debug for Aux<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<'a> Clone for Aux<'a>[src]
fn clone(&self) -> Aux<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Copy for Aux<'a>[src]
impl<'a> PartialEq for Aux<'a>[src]
fn eq(&self, __arg_0: &Aux<'a>) -> bool[src]
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[src]
This method tests for !=.