Struct rotary::buf::Limit [−][src]
A buffer that has been limited.
Created with Buf::limit.
Trait Implementations
impl<B, T> Buf<T> for Limit<B> where
B: Buf<T>,
T: Sample,
[src]
B: Buf<T>,
T: Sample,
fn frames(&self) -> usize
[src]
fn channels(&self) -> usize
[src]
fn channel(&self, channel: usize) -> Channel<'_, T>
[src]
fn skip(self, n: usize) -> Skip<Self> where
Self: Sized,
[src]
Self: Sized,
fn limit(self, limit: usize) -> Limit<Self> where
Self: Sized,
[src]
Self: Sized,
fn chunk(self, n: usize, len: usize) -> Chunk<Self> where
Self: Sized,
[src]
Self: Sized,
impl<B, T> BufMut<T> for Limit<B> where
B: BufMut<T>,
T: Sample,
[src]
B: BufMut<T>,
T: Sample,
fn resize(&mut self, frames: usize)
[src]
fn resize_topology(&mut self, channels: usize, frames: usize)
[src]
fn channel_mut(&mut self, channel: usize) -> ChannelMut<'_, T>
[src]
Auto Trait Implementations
impl<B> RefUnwindSafe for Limit<B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<B> Send for Limit<B> where
B: Send,
B: Send,
impl<B> Sync for Limit<B> where
B: Sync,
B: Sync,
impl<B> Unpin for Limit<B> where
B: Unpin,
B: Unpin,
impl<B> UnwindSafe for Limit<B> where
B: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
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.
pub 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>,