[][src]Trait basic_dsp_vector::ResizeOps

pub trait ResizeOps {
    fn resize(&mut self, len: usize) -> VoidResult;
}

Operations to resize a data type.

Required methods

fn resize(&mut self, len: usize) -> VoidResult

Changes self.len(). If self.is_complex() is true then len must be an even number. len > self.alloc_len() is only possible if the underlying storage supports resizing.

Loading content...

Implementors

impl<S, T, N, D> ResizeOps for DspVec<S, T, N, D> where
    S: ToSlice<T>,
    T: RealNumber,
    N: NumberSpace,
    D: Domain
[src]

Loading content...