Enum tract_hir::prelude::tract_linalg::frame::mmm::MatrixStore[]

pub enum MatrixStore<'s, 't> {
    Strides {
        ptr: *mut c_void,
        row_item_stride: isize,
        col_item_stride: isize,
        row_byte_stride: isize,
        col_byte_stride: isize,
        item_size: usize,
    },
    Packed {
        ptr: *const c_void,
        item_size: usize,
        panel_bytes: isize,
    },
    OffsetsAndPtrs {
        row_byte_offsets: *const isize,
        col_ptrs: Vec<*const c_void, Global>,
        nr: usize,
    },
    VecStride {
        ptr: *const c_void,
        item_stride: isize,
        byte_stride: isize,
        item_size: usize,
    },
    _Phantom(&'s (), &'t ()),
}

Variants

Strides

Fields of Strides

ptr: *mut c_voidrow_item_stride: isizecol_item_stride: isizerow_byte_stride: isizecol_byte_stride: isizeitem_size: usize
Packed

Fields of Packed

ptr: *const c_voiditem_size: usizepanel_bytes: isize
OffsetsAndPtrs

Fields of OffsetsAndPtrs

row_byte_offsets: *const isizecol_ptrs: Vec<*const c_void, Global>nr: usize
VecStride

Fields of VecStride

ptr: *const c_voiditem_stride: isizebyte_stride: isizeitem_size: usize
_Phantom(&'s (), &'t ())

Trait Implementations

impl<'s, 't> Clone for MatrixStore<'s, 't>

impl<'s, 't> Debug for MatrixStore<'s, 't>

Auto Trait Implementations

impl<'s, 't> RefUnwindSafe for MatrixStore<'s, 't>

impl<'s, 't> !Send for MatrixStore<'s, 't>

impl<'s, 't> !Sync for MatrixStore<'s, 't>

impl<'s, 't> Unpin for MatrixStore<'s, 't>

impl<'s, 't> UnwindSafe for MatrixStore<'s, 't>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.