[][src]Struct bam::record::tags::IntArrayView

pub struct IntArrayView<'a> { /* fields omitted */ }

Wrapper around raw integer array stored in a tag.

Methods

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

pub fn int_type(&self) -> IntegerType[src]

Get the type of the inner array.

pub fn len(&self) -> usize[src]

pub fn at(&self, index: usize) -> i64[src]

Returns an element at the index. Returns i64 to include both i32 and u32.

pub fn iter<'b: 'a>(&'b self) -> impl Iterator<Item = i64> + 'b[src]

Returns iterator over values (converted into i64).

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

Returns raw array.

Auto Trait Implementations

impl<'a> Send for IntArrayView<'a>

impl<'a> Sync for IntArrayView<'a>

impl<'a> Unpin for IntArrayView<'a>

impl<'a> UnwindSafe for IntArrayView<'a>

impl<'a> RefUnwindSafe for IntArrayView<'a>

Blanket Implementations

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

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

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.

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

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

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