Skip to main content

ToIntList

Trait ToIntList 

Source
pub trait ToIntList {
    type Output;

    // Required method
    fn to_intlist(&self) -> Self::Output;
}
Expand description

Helper trait to convert usize arrays to i64 for IntList compatibility

Required Associated Types§

Required Methods§

Source

fn to_intlist(&self) -> Self::Output

Implementations on Foreign Types§

Source§

impl ToIntList for Vec<usize>

Source§

type Output = Vec<i64>

Source§

fn to_intlist(&self) -> Self::Output

Source§

impl ToIntList for [usize; 2]

Source§

type Output = [i64; 2]

Source§

fn to_intlist(&self) -> Self::Output

Source§

impl ToIntList for [usize; 3]

Source§

type Output = [i64; 3]

Source§

fn to_intlist(&self) -> Self::Output

Source§

impl ToIntList for [usize; 4]

Source§

type Output = [i64; 4]

Source§

fn to_intlist(&self) -> Self::Output

Implementors§