Skip to main content

Shape

Trait Shape 

Source
pub trait Shape {
    // Required method
    fn to_shape(&self) -> Box<[i64]>;
}

Required Methods§

Source

fn to_shape(&self) -> Box<[i64]>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Shape for &[i64]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for ()

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for (i64, i64)

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for (i64, i64, i64)

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for (i64, i64, i64, i64)

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for (i64,)

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 0]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 1]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 2]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 3]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 4]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 5]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for [i64; 6]

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for i32

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for i64

Source§

fn to_shape(&self) -> Box<[i64]>

Source§

impl Shape for usize

Source§

fn to_shape(&self) -> Box<[i64]>

Implementors§