[][src]Enum tract_linalg::frame::mmm::MatrixStore

pub enum MatrixStore<'a, T: Copy> {
    Strides {
        ptr: *const T,
        row_byte_stride: isize,
        col_byte_stride: isize,
        mr: usize,
        nr: usize,
    },
    Packed {
        ptr: *const T,
        panel_len: usize,
    },
    OffsetsAndPtrs {
        row_byte_offsets: &'a [isize],
        col_ptrs: Vec<*const T>,
        nr: usize,
    },
    VecStride {
        ptr: *const T,
        byte_stride: isize,
        mr: usize,
        nr: usize,
    },
}

Variants

Strides

Fields of Strides

ptr: *const Trow_byte_stride: isizecol_byte_stride: isizemr: usizenr: usize
Packed

Fields of Packed

ptr: *const Tpanel_len: usize
OffsetsAndPtrs

Fields of OffsetsAndPtrs

row_byte_offsets: &'a [isize]col_ptrs: Vec<*const T>nr: usize
VecStride

Fields of VecStride

ptr: *const Tbyte_stride: isizemr: usizenr: usize

Trait Implementations

impl<'a, T: Clone + Copy> Clone for MatrixStore<'a, T>[src]

impl<'a, T: Debug + Copy> Debug for MatrixStore<'a, T>[src]

impl<'a, T: PartialEq + Copy> PartialEq<MatrixStore<'a, T>> for MatrixStore<'a, T>[src]

impl<'a, T: Copy> StructuralPartialEq for MatrixStore<'a, T>[src]

Auto Trait Implementations

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

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

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

impl<'a, T> Unpin for MatrixStore<'a, T>

impl<'a, T> UnwindSafe for MatrixStore<'a, T> where
    T: RefUnwindSafe

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