pub trait UpperBound {
    type T: PartialOrd<Self::T>;

    // Required method
    fn upper_bound(&self, v: Self::T) -> usize;
}

Required Associated Types§

type T: PartialOrd<Self::T>

Required Methods§

fn upper_bound(&self, v: Self::T) -> usize

Implementations on Foreign Types§

§

impl<T> UpperBound for [T]where T: PartialOrd<T>,

§

type T = T

§

fn upper_bound(&self, v: <[T] as UpperBound>::T) -> usize

Implementors§