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§
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".
Implementations on Foreign Types§
Source§impl OutputSizeMethods for HashMap<char, usize>
impl OutputSizeMethods for HashMap<char, usize>
Source§fn from_contraction_and_shapes(
contraction: &Contraction,
operand_shapes: &[Vec<usize>],
) -> Result<Self, &'static str>
fn from_contraction_and_shapes( contraction: &Contraction, operand_shapes: &[Vec<usize>], ) -> Result<Self, &'static str>
Build the HashMap containing the axis lengths