#[repr(C)]pub struct TiNdArray {
pub memory: TiMemory,
pub shape: TiNdShape,
pub elem_shape: TiNdShape,
pub elem_type: TiDataType,
}Expand description
Structure TiNdArray
Multi-dimensional array of dense primitive data.
Fields§
§memory: TiMemoryMemory bound to the ND-array.
shape: TiNdShapeShape of the ND-array.
elem_shape: TiNdShapeShape of the ND-array elements. It must not be empty for vector or matrix ND-arrays.
elem_type: TiDataTypePrimitive data type of the ND-array elements.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TiNdArray
impl RefUnwindSafe for TiNdArray
impl Send for TiNdArray
impl Sync for TiNdArray
impl Unpin for TiNdArray
impl UnwindSafe for TiNdArray
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more