Trait basic_dsp_vector::ResizeOps [] [src]

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

Operations to resize a data type.

Required Methods

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.

Implementors