[][src]Struct brinicle_kernel::AudioBufferMut

pub struct AudioBufferMut<'c, 'a> where
    'a: 'c,
    'a: 'c, 
{ /* fields omitted */ }

Methods

impl<'c, 'a> AudioBufferMut<'c, 'a> where
    'a: 'c, 
[src]

pub fn new(buf: &'c mut [&'a mut [f32]]) -> AudioBufferMut<'c, 'a>[src]

pub fn slice(&'d mut self, range: Range<usize>) -> SmallVec<[&'d mut [f32]; 8]>[src]

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

pub fn is_empty(&self) -> bool[src]

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

pub fn split_first_mut(
    &'d mut self
) -> Option<(&'d mut [f32], AudioBufferMut<'d, 'a>)>
[src]

Trait Implementations

impl<'c, 'a> IndexMut<usize> for AudioBufferMut<'c, 'a> where
    'a: 'c, 
[src]

impl<'d, 'c, 'a> From<&'d mut AudioBufferMut<'c, 'a>> for AudioBufferMut<'d, 'a> where
    'c: 'd,
    'a: 'c, 
[src]

impl<'c, 'a> From<&'c mut SmallVec<[&'a mut [f32]; 8]>> for AudioBufferMut<'c, 'a> where
    'a: 'c, 
[src]

impl<'c, 'a> From<&'c mut [&'a mut [f32]]> for AudioBufferMut<'c, 'a> where
    'a: 'c, 
[src]

impl<'c, 'a> From<AudioBufferMut<'c, 'a>> for AudioBuffer<'c, 'c> where
    'a: 'c, 
[src]

impl<'c, 'a> Index<usize> for AudioBufferMut<'c, 'a> where
    'a: 'c, 
[src]

type Output = [f32]

The returned type after indexing.

impl<'d, 'c, 'a> IntoIterator for &'d mut AudioBufferMut<'c, 'a> where
    'c: 'd,
    'a: 'c, 
[src]

type Item = &'d mut [f32]

The type of the elements being iterated over.

type IntoIter = IterMut<'d, 'a>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl<'c, 'a> Send for AudioBufferMut<'c, 'a>

impl<'c, 'a> Unpin for AudioBufferMut<'c, 'a> where
    'a: 'c, 

impl<'c, 'a> Sync for AudioBufferMut<'c, 'a>

impl<'c, 'a> !UnwindSafe for AudioBufferMut<'c, 'a>

impl<'c, 'a> RefUnwindSafe for AudioBufferMut<'c, '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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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