Skip to main content

MiraShapedArray

Trait MiraShapedArray 

Source
pub trait MiraShapedArray: Any {
    // Required method
    fn len() -> usize;
}
Expand description

A fixed-shape array whose length is known from its Rust type.

Required Methods§

Source

fn len() -> usize

Return the fixed number of elements.

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<T: MiraField, const N: usize> MiraShapedArray for [T; N]

Implementors§