Struct basic_dsp_vector::NoTradeBufferBurrow

source ·
pub struct NoTradeBufferBurrow<'a, T: RealNumber + 'a> { /* private fields */ }
Expand description

Buffer borrow type for NoTradeBufferBurrow.

Trait Implementations§

source§

impl<'a, S: ToSliceMut<T>, T: RealNumber> BufferBorrow<S, T> for NoTradeBufferBurrow<'a, T>

source§

fn trade(self, _: &mut S)

Moves the content of this slice into storage. This operation might just copy all contents into storage or
source§

impl<'a, T: RealNumber + 'a> ToSlice<T> for NoTradeBufferBurrow<'a, T>

source§

fn to_slice(&self) -> &[T]

Convert to a slice.
source§

fn len(&self) -> usize

Length of a slice.
source§

fn is_empty(&self) -> bool

Indicates whether or not this storage type is empty.
source§

fn alloc_len(&self) -> usize

Gets the allocated length of a storage. It’s expected that self.alloc_len() >= self.len() in all cases.
source§

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.
source§

impl<'a, T: RealNumber + 'a> ToSliceMut<T> for NoTradeBufferBurrow<'a, T>

source§

fn to_slice_mut(&mut self) -> &mut [T]

Convert to a mutable slice.

Auto Trait Implementations§

§

impl<'a, T> Freeze for NoTradeBufferBurrow<'a, T>

§

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§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<Type, T> InterleaveToVector<T> for Type
where Type: ToSlice<T>, T: RealNumber,

source§

fn interleave_to_complex_time_vec( &self, other: &Type ) -> Result<DspVec<Vec<T>, T, Complex, Time>, ErrorReason>

Create a new vector in real number space and time domain. delta can be changed after construction with a call of set_delta.
source§

fn interleave_to_complex_freq_vec( &self, other: &Type ) -> Result<DspVec<Vec<T>, T, Complex, Freq>, ErrorReason>

Create a new vector in real number space and frequency domain. delta can be changed after construction with a call of set_delta.
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.