[−][src]Struct bam::record::tags::FloatArrayView
Wrapper around raw float array stored in a tag.
Methods
impl<'a> FloatArrayView<'a>
[src]
pub fn len(&self) -> usize
[src]
pub fn at(&self, index: usize) -> f32
[src]
Returns an element at the index
.
pub fn iter(&self) -> impl Iterator<Item = f32> + 'a
[src]
pub fn raw(&self) -> &[u8]
[src]
Returns raw array.
Auto Trait Implementations
impl<'a> Send for FloatArrayView<'a>
impl<'a> Sync for FloatArrayView<'a>
impl<'a> Unpin for FloatArrayView<'a>
impl<'a> UnwindSafe for FloatArrayView<'a>
impl<'a> RefUnwindSafe for FloatArrayView<'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,