Struct basic_dsp_vector::NoTradeBufferBurrow
source · [−]pub struct NoTradeBufferBurrow<'a, T: RealNumber + 'a> { /* private fields */ }
Expand description
Buffer borrow type for NoTradeBufferBurrow
.
Trait Implementations
sourceimpl<'a, S: ToSliceMut<T>, T: RealNumber> BufferBorrow<S, T> for NoTradeBufferBurrow<'a, T>
impl<'a, S: ToSliceMut<T>, T: RealNumber> BufferBorrow<S, T> for NoTradeBufferBurrow<'a, T>
sourceimpl<'a, T: RealNumber + 'a> ToSlice<T> for NoTradeBufferBurrow<'a, T>
impl<'a, T: RealNumber + 'a> ToSlice<T> for NoTradeBufferBurrow<'a, T>
sourcefn to_slice(&self) -> &[T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
fn to_slice(&self) -> &[T]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
Convert to a slice.
sourcefn alloc_len(&self) -> usize
fn alloc_len(&self) -> usize
Gets the allocated length of a storage.
It’s expected that
self.alloc_len() >= self.len()
in all cases. Read moresourcefn try_resize(&mut self, len: usize) -> VoidResult
fn try_resize(&mut self, len: usize) -> VoidResult
Resizes the storage to support at least
len
elements or
returns an error if resizing isn’t supported. Read moresourceimpl<'a, T: RealNumber + 'a> ToSliceMut<T> for NoTradeBufferBurrow<'a, T>
impl<'a, T: RealNumber + 'a> ToSliceMut<T> for NoTradeBufferBurrow<'a, T>
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for NoTradeBufferBurrow<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for NoTradeBufferBurrow<'a, T>
impl<'a, T> Sync for NoTradeBufferBurrow<'a, T>
impl<'a, T> Unpin for NoTradeBufferBurrow<'a, T>
impl<'a, T> !UnwindSafe for NoTradeBufferBurrow<'a, T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more