[−][src]Struct basic_dsp::SingleBuffer 
A buffer which stores a single vector and never shrinks.
Implementations
impl<T> SingleBuffer<T> where
    T: RealNumber, [src]
T: RealNumber,
pub fn new() -> SingleBuffer<T>[src]
Creates a new buffer which is ready to be passed around.
pub fn with_capacity(len: usize) -> SingleBuffer<T>[src]
Creates a new buffer which is ready to be passed around.
Trait Implementations
impl<'a, T> Buffer<'a, Vec<T>, T> for SingleBuffer<T> where
    T: RealNumber + 'a, [src]
T: RealNumber + 'a,
type Borrow = SingleBufferBurrow<'a, T>
The type of the burrow which is returned.
fn borrow(
    &'a mut self, 
    len: usize
) -> <SingleBuffer<T> as Buffer<'a, Vec<T>, T>>::Borrow[src]
&'a mut self,
len: usize
) -> <SingleBuffer<T> as Buffer<'a, Vec<T>, T>>::Borrow
fn alloc_len(&self) -> usize[src]
impl<T> Default for SingleBuffer<T> where
    T: Default + RealNumber, [src]
T: Default + RealNumber,
fn default() -> SingleBuffer<T>[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for SingleBuffer<T> where
    T: RefUnwindSafe, 
T: RefUnwindSafe,
impl<T> Send for SingleBuffer<T>
impl<T> Sync for SingleBuffer<T>
impl<T> Unpin for SingleBuffer<T> where
    T: Unpin, 
T: Unpin,
impl<T> UnwindSafe for SingleBuffer<T> where
    T: UnwindSafe, 
T: 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,
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.
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>,