Trait Shape

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

Required Methods§

Source

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

Implementations on Foreign Types§

Source§

impl Shape for &[i64]

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 i32

Source§

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

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 usize

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]>

Implementors§