Trait rai_core::ops::ToPair

source ·
pub trait ToPair<T>: Debug {
    // Required method
    fn to_pair(&self) -> (T, T);
}

Required Methods§

source

fn to_pair(&self) -> (T, T)

Implementations on Foreign Types§

source§

impl ToPair<usize> for (usize, usize)

source§

fn to_pair(&self) -> (usize, usize)

source§

impl ToPair<usize> for usize

source§

fn to_pair(&self) -> (usize, usize)

source§

impl ToPair<usize> for [usize; 2]

source§

fn to_pair(&self) -> (usize, usize)

Implementors§