Skip to main content

DataContainer

Struct DataContainer 

Source
pub struct DataContainer<'a, T> { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl<'a> GetFromDataContainer<ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>>> for DataContainer<'a, MatrixFloat>

Source§

fn get(&self) -> Array2<f32>

Source§

impl<'a> GetFromDataContainer<ArrayBase<OwnedRepr<f32>, Dim<[usize; 4]>>> for DataContainer<'a, TensorFloat>

Source§

fn get(&self) -> Array4<f32>

Source§

impl<'a> GetFromDataContainer<Complex<f32>> for DataContainer<'a, Complex>

Source§

fn get(&self) -> Complex<f32>

Source§

impl<'a> GetFromDataContainer<HashMap<String, Vec<Complex<f32>>>> for DataContainer<'a, MapVectorComplex>

Source§

impl<'a> GetFromDataContainer<HashMap<String, Vec<String>>> for DataContainer<'a, MapVectorString>

Source§

impl<'a> GetFromDataContainer<HashMap<String, Vec<f32>>> for DataContainer<'a, MapVectorFloat>

Source§

fn get(&self) -> HashMap<String, Vec<f32>>

Source§

impl<'a> GetFromDataContainer<HashMap<String, Vec<i32>>> for DataContainer<'a, MapVectorInt>

Source§

fn get(&self) -> HashMap<String, Vec<i32>>

Source§

impl<'a> GetFromDataContainer<HashMap<String, f32>> for DataContainer<'a, MapFloat>

Source§

fn get(&self) -> HashMap<String, f32>

Source§

impl<'a> GetFromDataContainer<Pool> for DataContainer<'a, Pool>

Source§

fn get(&self) -> Pool

Source§

impl<'a> GetFromDataContainer<StereoSample> for DataContainer<'a, StereoSample>

Source§

impl<'a> GetFromDataContainer<String> for DataContainer<'a, String>

Source§

fn get(&self) -> String

Source§

impl<'a> GetFromDataContainer<Vec<ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>>>> for DataContainer<'a, VectorMatrixFloat>

Source§

fn get(&self) -> Vec<Array2<f32>>

Source§

impl<'a> GetFromDataContainer<Vec<Complex<f32>>> for DataContainer<'a, VectorComplex>

Source§

fn get(&self) -> Vec<Complex<f32>>

Source§

impl<'a> GetFromDataContainer<Vec<StereoSample>> for DataContainer<'a, VectorStereoSample>

Source§

impl<'a> GetFromDataContainer<Vec<String>> for DataContainer<'a, VectorString>

Source§

fn get(&self) -> Vec<String>

Source§

impl<'a> GetFromDataContainer<Vec<Vec<Complex<f32>>>> for DataContainer<'a, VectorVectorComplex>

Source§

fn get(&self) -> Vec<Vec<Complex<f32>>>

Source§

impl<'a> GetFromDataContainer<Vec<Vec<StereoSample>>> for DataContainer<'a, VectorVectorStereoSample>

Source§

impl<'a> GetFromDataContainer<Vec<Vec<String>>> for DataContainer<'a, VectorVectorString>

Source§

fn get(&self) -> Vec<Vec<String>>

Source§

impl<'a> GetFromDataContainer<Vec<Vec<f32>>> for DataContainer<'a, VectorVectorFloat>

Source§

fn get(&self) -> Vec<Vec<f32>>

Source§

impl<'a> GetFromDataContainer<Vec<bool>> for DataContainer<'a, VectorBool>

Source§

fn get(&self) -> Vec<bool>

Source§

impl<'a> GetFromDataContainer<Vec<f32>> for DataContainer<'a, VectorFloat>

Source§

fn get(&self) -> Vec<f32>

Source§

impl<'a> GetFromDataContainer<Vec<i32>> for DataContainer<'a, VectorInt>

Source§

fn get(&self) -> Vec<i32>

Source§

impl<'a> GetFromDataContainer<bool> for DataContainer<'a, Bool>

Source§

fn get(&self) -> bool

Source§

impl<'a> GetFromDataContainer<f32> for DataContainer<'a, Float>

Source§

fn get(&self) -> f32

Source§

impl<'a> GetFromDataContainer<i32> for DataContainer<'a, Int>

Source§

fn get(&self) -> i32

Source§

impl<'a> GetFromDataContainer<i64> for DataContainer<'a, Long>

Source§

fn get(&self) -> i64

Source§

impl<'a> GetFromDataContainer<u32> for DataContainer<'a, UnsignedInt>

Source§

fn get(&self) -> u32

Source§

impl<'a, T> IntoDataContainer<T> for DataContainer<'a, T>

Source§

impl<'a> TryGetFromDataContainer<ArrayBase<OwnedRepr<f32>, Dim<[usize; 2]>>> for DataContainer<'a, VectorVectorFloat>

Auto Trait Implementations§

§

impl<'a, T> !Send for DataContainer<'a, T>

§

impl<'a, T> !Sync for DataContainer<'a, T>

§

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

§

impl<'a, T> RefUnwindSafe for DataContainer<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> Unpin for DataContainer<'a, T>
where T: Unpin,

§

impl<'a, T> UnsafeUnpin for DataContainer<'a, T>

§

impl<'a, T> UnwindSafe for DataContainer<'a, T>
where T: UnwindSafe,

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<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, U> TryFrom<U> for T
where U: Into<T>,

Source§

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>,

Source§

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

impl<T, V> TryIntoDataContainer<T> for V
where V: IntoDataContainer<T>,