[−][src]Struct bam::record::tags::IntArrayView
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,