Trait tract_linalg::frame::mmm::MMMInput

source ·
pub trait MMMInput: DynClone + Debug + DynHash + Send + Sync + Display {
    // Required methods
    fn scratch_panel_buffer_layout(&self) -> Option<Layout>;
    fn panel_bytes(&self, i: usize, buffer: Option<*mut u8>) -> *const u8;
    fn mn(&self) -> usize;
    fn r(&self) -> usize;
    fn k(&self) -> usize;

    // Provided method
    fn panels_count(&self) -> usize { ... }
}

Required Methods§

source

fn scratch_panel_buffer_layout(&self) -> Option<Layout>

source

fn panel_bytes(&self, i: usize, buffer: Option<*mut u8>) -> *const u8

source

fn mn(&self) -> usize

source

fn r(&self) -> usize

source

fn k(&self) -> usize

Provided Methods§

Trait Implementations§

source§

impl<'hash> Hash for dyn MMMInput + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'hash> Hash for dyn MMMInput + Send + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'hash> Hash for dyn MMMInput + Send + Sync + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl<'hash> Hash for dyn MMMInput + Sync + 'hash

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
source§

impl OpaquePayload for Box<dyn MMMInput>

Implementors§