Enum gfa::optfields::OptFieldVal[][src]

pub enum OptFieldVal {
    A(u8),
    Int(i64),
    Float(f32),
    Z(Vec<u8>),
    J(Vec<u8>),
    H(Vec<u32>),
    BInt(Vec<i64>),
    BFloat(Vec<f32>),
}

enum for representing each of the SAM optional field types. The B type, which denotes either an integer or float array, is split in two variants, and they ignore the size modifiers in the spec, instead always holding i64 or f32.

Variants

A(u8)
Int(i64)
Float(f32)
Z(Vec<u8>)
J(Vec<u8>)
H(Vec<u32>)
BInt(Vec<i64>)
BFloat(Vec<f32>)

Trait Implementations

impl Clone for OptFieldVal[src]

impl Debug for OptFieldVal[src]

impl PartialEq<OptFieldVal> for OptFieldVal[src]

impl PartialOrd<OptFieldVal> for OptFieldVal[src]

impl StructuralPartialEq for OptFieldVal[src]

Auto Trait Implementations

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.