[−][src]Struct brinicle_deinterleaved::AudioBuffer
Methods
impl<'c, 'a: 'c> AudioBuffer<'c, 'a>
[src]
pub fn new(buf: &'c [&'a [f32]]) -> AudioBuffer<'c, 'a>
[src]
pub fn slice<'d>(&'d self, range: Range<usize>) -> SubBuffer<'d>
[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(&self) -> Option<(&'a [f32], AudioBuffer<'c, 'a>)>
[src]
Trait Implementations
impl<'d, 'c: 'd, 'a: 'c> IntoIterator for &'d AudioBuffer<'c, 'a>
[src]
type Item = &'d [f32]
The type of the elements being iterated over.
type IntoIter = Iter<'d, 'a>
Which kind of iterator are we turning this into?
ⓘImportant traits for Iter<'c, 'a>fn into_iter(self) -> Iter<'d, 'a>
[src]
ⓘImportant traits for Iter<'c, 'a>
impl<'c, 'a: 'c> From<&'c [&'a [f32]]> for AudioBuffer<'c, 'a>
[src]
impl<'c, 'a: 'c> From<&'c SmallVec<[&'a [f32]; 8]>> for AudioBuffer<'c, 'a>
[src]
fn from(buf: &'c SubBuffer<'a>) -> AudioBuffer<'c, 'a>
[src]
impl<'d, 'c: 'd, 'a: 'c> From<&'d AudioBuffer<'c, 'a>> for AudioBuffer<'d, 'a>
[src]
fn from(buf: &'d AudioBuffer<'c, 'a>) -> AudioBuffer<'d, 'a>
[src]
impl<'c, 'a: 'c> From<AudioBufferMut<'c, 'a>> for AudioBuffer<'c, 'c>
[src]
fn from(buf: AudioBufferMut<'c, 'a>) -> AudioBuffer<'c, 'a>
[src]
impl<'c, 'a: 'c> Index<usize> for AudioBuffer<'c, 'a>
[src]
Auto Trait Implementations
impl<'c, 'a> Send for AudioBuffer<'c, 'a>
impl<'c, 'a> Unpin for AudioBuffer<'c, 'a> where
'a: 'c,
'a: 'c,
impl<'c, 'a> Sync for AudioBuffer<'c, 'a>
impl<'c, 'a> UnwindSafe for AudioBuffer<'c, 'a>
impl<'c, 'a> RefUnwindSafe for AudioBuffer<'c, '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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,