OutputSizeMethods

Trait OutputSizeMethods 

Source
trait OutputSizeMethods {
    // Required method
    fn from_contraction_and_shapes(
        contraction: &Contraction,
        operand_shapes: &[Vec<usize>],
    ) -> Result<HashMap<char, usize>, &'static str>;
}
Expand description

Enables OutputSize::from_contraction_and_shapes()

Required Methods§

Source

fn from_contraction_and_shapes( contraction: &Contraction, operand_shapes: &[Vec<usize>], ) -> Result<HashMap<char, usize>, &'static str>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl OutputSizeMethods for HashMap<char, usize>

Source§

fn from_contraction_and_shapes( contraction: &Contraction, operand_shapes: &[Vec<usize>], ) -> Result<Self, &'static str>

Build the HashMap containing the axis lengths

Implementors§