Struct ArrayObject

Source
pub struct ArrayObject { /* private fields */ }
Expand description

The main array storage with type abstraction.

Data is stored uncompressed. Compression is only available in binary form, i.e. when .pack() is called.

Implementations§

Source§

impl ArrayObject

Source

pub fn bits(&self) -> Option<usize>

Returens the minimal size of type, in bits, required to restore the array.

Source

pub fn len(&self) -> usize

Returns the total number of elements in the array.

Source

pub fn shape(&self) -> Vec<usize>

Returns the shape of the array.

Source

pub fn datasize(&self) -> usize

Returns the datasize of the array.

Source

pub fn datatype(&self) -> DataType

Returns the data type.

Source

pub fn dimension(&self) -> usize

Returns the dimension of the array.

Trait Implementations§

Source§

impl Clone for ArrayObject

Source§

fn clone(&self) -> ArrayObject

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ArrayObject

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<&&str> for ArrayObject

Source§

fn from(val: &&str) -> Self

Converts to this type from the input type.
Source§

impl From<&[&str]> for ArrayObject

Source§

fn from(val: &[&str]) -> Self

Converts to this type from the input type.
Source§

impl From<&[Complex<f32>]> for ArrayObject

Source§

fn from(val: &[Complex<f32>]) -> Self

Converts to this type from the input type.
Source§

impl From<&[Complex<f64>]> for ArrayObject

Source§

fn from(val: &[Complex<f64>]) -> Self

Converts to this type from the input type.
Source§

impl From<&[String]> for ArrayObject

Source§

fn from(val: &[String]) -> Self

Converts to this type from the input type.
Source§

impl From<&[f32]> for ArrayObject

Source§

fn from(val: &[f32]) -> Self

Converts to this type from the input type.
Source§

impl From<&[f64]> for ArrayObject

Source§

fn from(val: &[f64]) -> Self

Converts to this type from the input type.
Source§

impl From<&[u128]> for ArrayObject

Source§

fn from(val: &[u128]) -> Self

Converts to this type from the input type.
Source§

impl From<&[u16]> for ArrayObject

Source§

fn from(val: &[u16]) -> Self

Converts to this type from the input type.
Source§

impl From<&[u32]> for ArrayObject

Source§

fn from(val: &[u32]) -> Self

Converts to this type from the input type.
Source§

impl From<&[u64]> for ArrayObject

Source§

fn from(val: &[u64]) -> Self

Converts to this type from the input type.
Source§

impl From<&[u8]> for ArrayObject

Source§

fn from(val: &[u8]) -> Self

Converts to this type from the input type.
Source§

impl From<&[usize]> for ArrayObject

Source§

fn from(val: &[usize]) -> Self

Converts to this type from the input type.
Source§

impl From<&Complex<f32>> for ArrayObject

Source§

fn from(val: &Complex<f32>) -> Self

Converts to this type from the input type.
Source§

impl From<&Complex<f64>> for ArrayObject

Source§

fn from(val: &Complex<f64>) -> Self

Converts to this type from the input type.
Source§

impl From<&String> for ArrayObject

Source§

fn from(val: &String) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<&str>> for ArrayObject

Source§

fn from(val: &Vec<&str>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<Complex<f32>>> for ArrayObject

Source§

fn from(val: &Vec<Complex<f32>>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<Complex<f64>>> for ArrayObject

Source§

fn from(val: &Vec<Complex<f64>>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<String>> for ArrayObject

Source§

fn from(val: &Vec<String>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<f32>> for ArrayObject

Source§

fn from(val: &Vec<f32>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<f64>> for ArrayObject

Source§

fn from(val: &Vec<f64>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<u128>> for ArrayObject

Source§

fn from(val: &Vec<u128>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<u16>> for ArrayObject

Source§

fn from(val: &Vec<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<u32>> for ArrayObject

Source§

fn from(val: &Vec<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<u64>> for ArrayObject

Source§

fn from(val: &Vec<u64>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<u8>> for ArrayObject

Source§

fn from(val: &Vec<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<&Vec<usize>> for ArrayObject

Source§

fn from(val: &Vec<usize>) -> Self

Converts to this type from the input type.
Source§

impl From<&f32> for ArrayObject

Source§

fn from(val: &f32) -> Self

Converts to this type from the input type.
Source§

impl From<&f64> for ArrayObject

Source§

fn from(val: &f64) -> Self

Converts to this type from the input type.
Source§

impl From<&str> for ArrayObject

Source§

fn from(val: &str) -> Self

Converts to this type from the input type.
Source§

impl From<&u128> for ArrayObject

Source§

fn from(val: &u128) -> Self

Converts to this type from the input type.
Source§

impl From<&u16> for ArrayObject

Source§

fn from(val: &u16) -> Self

Converts to this type from the input type.
Source§

impl From<&u32> for ArrayObject

Source§

fn from(val: &u32) -> Self

Converts to this type from the input type.
Source§

impl From<&u64> for ArrayObject

Source§

fn from(val: &u64) -> Self

Converts to this type from the input type.
Source§

impl From<&u8> for ArrayObject

Source§

fn from(val: &u8) -> Self

Converts to this type from the input type.
Source§

impl From<&usize> for ArrayObject

Source§

fn from(val: &usize) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[&str; N]> for ArrayObject

Source§

fn from(val: [&str; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[Complex<f32>; N]> for ArrayObject

Source§

fn from(val: [Complex<f32>; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[Complex<f64>; N]> for ArrayObject

Source§

fn from(val: [Complex<f64>; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[String; N]> for ArrayObject

Source§

fn from(val: [String; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[f32; N]> for ArrayObject

Source§

fn from(val: [f32; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[f64; N]> for ArrayObject

Source§

fn from(val: [f64; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[u128; N]> for ArrayObject

Source§

fn from(val: [u128; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[u16; N]> for ArrayObject

Source§

fn from(val: [u16; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[u32; N]> for ArrayObject

Source§

fn from(val: [u32; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[u64; N]> for ArrayObject

Source§

fn from(val: [u64; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[u8; N]> for ArrayObject

Source§

fn from(val: [u8; N]) -> Self

Converts to this type from the input type.
Source§

impl<const N: usize> From<[usize; N]> for ArrayObject

Source§

fn from(val: [usize; N]) -> Self

Converts to this type from the input type.
Source§

impl From<Complex<f32>> for ArrayObject

Source§

fn from(val: Complex<f32>) -> Self

Converts to this type from the input type.
Source§

impl From<Complex<f64>> for ArrayObject

Source§

fn from(val: Complex<f64>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<f32>> for ArrayObject

Source§

fn from(Pair: Pair<f32>) -> Self

Converts to this type from the input type.
Source§

impl From<Pair<f64>> for ArrayObject

Source§

fn from(Pair: Pair<f64>) -> Self

Converts to this type from the input type.
Source§

impl From<String> for ArrayObject

Source§

fn from(val: String) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<&str>> for ArrayObject

Source§

fn from(val: Vec<&str>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Complex<f32>>> for ArrayObject

Source§

fn from(val: Vec<Complex<f32>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Complex<f64>>> for ArrayObject

Source§

fn from(val: Vec<Complex<f64>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Pair<f32>>> for ArrayObject

Source§

fn from(val: Vec<Pair<f32>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<Pair<f64>>> for ArrayObject

Source§

fn from(val: Vec<Pair<f64>>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<String>> for ArrayObject

Source§

fn from(val: Vec<String>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<f32>> for ArrayObject

Source§

fn from(val: Vec<f32>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<f64>> for ArrayObject

Source§

fn from(val: Vec<f64>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i128>> for ArrayObject

Source§

fn from(val: Vec<i128>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i16>> for ArrayObject

Source§

fn from(val: Vec<i16>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i32>> for ArrayObject

Source§

fn from(val: Vec<i32>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i64>> for ArrayObject

Source§

fn from(val: Vec<i64>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<i8>> for ArrayObject

Source§

fn from(val: Vec<i8>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<isize>> for ArrayObject

Source§

fn from(val: Vec<isize>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u128>> for ArrayObject

Source§

fn from(val: Vec<u128>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u16>> for ArrayObject

Source§

fn from(val: Vec<u16>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u32>> for ArrayObject

Source§

fn from(val: Vec<u32>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u64>> for ArrayObject

Source§

fn from(val: Vec<u64>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<u8>> for ArrayObject

Source§

fn from(val: Vec<u8>) -> Self

Converts to this type from the input type.
Source§

impl From<Vec<usize>> for ArrayObject

Source§

fn from(val: Vec<usize>) -> Self

Converts to this type from the input type.
Source§

impl From<f32> for ArrayObject

Source§

fn from(val: f32) -> Self

Converts to this type from the input type.
Source§

impl From<f64> for ArrayObject

Source§

fn from(val: f64) -> Self

Converts to this type from the input type.
Source§

impl From<i128> for ArrayObject

Source§

fn from(val: i128) -> Self

Converts to this type from the input type.
Source§

impl From<i16> for ArrayObject

Source§

fn from(val: i16) -> Self

Converts to this type from the input type.
Source§

impl From<i32> for ArrayObject

Source§

fn from(val: i32) -> Self

Converts to this type from the input type.
Source§

impl From<i64> for ArrayObject

Source§

fn from(val: i64) -> Self

Converts to this type from the input type.
Source§

impl From<i8> for ArrayObject

Source§

fn from(val: i8) -> Self

Converts to this type from the input type.
Source§

impl From<isize> for ArrayObject

Source§

fn from(val: isize) -> Self

Converts to this type from the input type.
Source§

impl From<u128> for ArrayObject

Source§

fn from(val: u128) -> Self

Converts to this type from the input type.
Source§

impl From<u16> for ArrayObject

Source§

fn from(val: u16) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for ArrayObject

Source§

fn from(val: u32) -> Self

Converts to this type from the input type.
Source§

impl From<u64> for ArrayObject

Source§

fn from(val: u64) -> Self

Converts to this type from the input type.
Source§

impl From<u8> for ArrayObject

Source§

fn from(val: u8) -> Self

Converts to this type from the input type.
Source§

impl From<usize> for ArrayObject

Source§

fn from(val: usize) -> Self

Converts to this type from the input type.
Source§

impl Pack for ArrayObject

Source§

fn pack(self) -> Vec<u8>

Compress the data and create a binary object.
Source§

fn pack_as_it_is(self) -> Vec<u8>

Create a binary object without compression.
Source§

impl PartialEq for ArrayObject

Source§

fn eq(&self, other: &ArrayObject) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [Complex<f32>; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [Complex<f64>; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [String; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [f32; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [f64; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [i128; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [i16; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [i32; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [i64; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [i8; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [isize; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [u128; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [u16; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [u32; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [u64; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [u8; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl<const N: usize> TryFrom<ArrayObject> for [usize; N]

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Complex<f32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Complex<f64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Pair<f32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Pair<f64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for String

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<Complex<f32>>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<Complex<f64>>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<String>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<f32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<f64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<i128>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<i16>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<i32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<i64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<i8>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<isize>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<u128>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<u16>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<u32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<u64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<u8>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for Vec<usize>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<Complex<f32>>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<Complex<f64>>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<Pair<f32>>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<Pair<f64>>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<String>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<f32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<f64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<i128>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<i16>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<i32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<i64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<i8>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<isize>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<u128>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<u16>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<u32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<u64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<u8>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecShape<usize>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecVecShape<f32>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for VecVecShape<f64>

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for f32

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for f64

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for i128

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for i16

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for i32

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for i64

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for i8

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for isize

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for u128

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for u16

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for u32

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for u64

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for u8

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<ArrayObject> for usize

Source§

type Error = ArrayObjectError

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

fn try_from(val: ArrayObject) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<&str>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<&str>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<Complex<f32>>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<Complex<f32>>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<Complex<f64>>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<Complex<f64>>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<String>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<String>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<f32>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<f32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<f64>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<f64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<i128>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<i128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<i16>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<i16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<i32>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<i32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<i64>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<i64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<i8>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<i8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<isize>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<isize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<u128>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<u128>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<u16>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<u16>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<u32>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<u32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<u64>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<u64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<u8>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<u8>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecShape<usize>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecShape: VecShape<usize>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecVec<f32>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecVec: VecVec<f32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecVec<f64>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecVec: VecVec<f64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecVecShape<f32>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecVecShape: VecVecShape<f32>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<VecVecShape<f64>> for ArrayObject

Source§

type Error = ArrayObjectError

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

fn try_from(VecVecShape: VecVecShape<f64>) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Unpack for ArrayObject

Source§

fn unpack(data: Vec<u8>) -> Result<Self, ArrayObjectError>

Restore ArrayObject from a binary data.
Source§

impl StructuralPartialEq for ArrayObject

Auto Trait Implementations§

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.