Trait rotary::ResizableBuf[][src]

pub trait ResizableBuf {
    pub fn resize(&mut self, frames: usize);
pub fn resize_topology(&mut self, channels: usize, frames: usize); }

Trait implemented for buffers that can be resized.

Required methods

pub fn resize(&mut self, frames: usize)[src]

Resize the number of frames in the buffer.

pub fn resize_topology(&mut self, channels: usize, frames: usize)[src]

Resize the buffer to match the given topology.

Loading content...

Implementations on Foreign Types

impl<T> ResizableBuf for Vec<Vec<T, Global>, Global> where
    T: Sample
[src]

impl<'_, B> ResizableBuf for &'_ mut B where
    B: ResizableBuf + ?Sized
[src]

Loading content...

Implementors

impl<T> ResizableBuf for Dynamic<T> where
    T: Sample
[src]

impl<T> ResizableBuf for Interleaved<T> where
    T: Sample
[src]

impl<T> ResizableBuf for Sequential<T> where
    T: Sample
[src]

Loading content...