Bounded

Trait Bounded 

Source
pub trait Bounded: Collection {
    // Required methods
    fn lower(&self) -> Self::Item;
    fn upper(&self) -> Self::Item;
}

Required Methods§

Source

fn lower(&self) -> Self::Item

Source

fn upper(&self) -> Self::Item

Implementations on Foreign Types§

Source§

impl Bounded for i8

Source§

fn lower(&self) -> i8

Source§

fn upper(&self) -> i8

Source§

impl Bounded for i16

Source§

fn lower(&self) -> i16

Source§

fn upper(&self) -> i16

Source§

impl Bounded for i32

Source§

fn lower(&self) -> i32

Source§

fn upper(&self) -> i32

Source§

impl Bounded for i64

Source§

fn lower(&self) -> i64

Source§

fn upper(&self) -> i64

Source§

impl Bounded for isize

Source§

fn lower(&self) -> isize

Source§

fn upper(&self) -> isize

Source§

impl Bounded for u8

Source§

fn lower(&self) -> u8

Source§

fn upper(&self) -> u8

Source§

impl Bounded for u16

Source§

fn lower(&self) -> u16

Source§

fn upper(&self) -> u16

Source§

impl Bounded for u32

Source§

fn lower(&self) -> u32

Source§

fn upper(&self) -> u32

Source§

impl Bounded for u64

Source§

fn lower(&self) -> u64

Source§

fn upper(&self) -> u64

Source§

impl Bounded for usize

Source§

fn lower(&self) -> usize

Source§

fn upper(&self) -> usize

Implementors§

Source§

impl<Bound> Bounded for Interval<Bound>
where Bound: Num + Width + Clone,

Source§

impl<Bound> Bounded for IntervalSet<Bound>
where Bound: Width + Num + PartialOrd,