Enum std::collections::Bound [] [src]

pub enum Bound<T> {
    Included(T),
    Excluded(T),
    Unbounded,
}
Unstable

An endpoint of a range of keys.

Variants

Included
Unstable

An inclusive bound.

Excluded
Unstable

An exclusive bound.

Unbounded
Unstable

An infinite endpoint. Indicates that there is no bound in this direction.

Trait Implementations

Derived Implementations

impl<T> Eq for Bound<T> where T: Eq + Eq + Eq

impl<T> PartialEq<Bound<T>> for Bound<T> where T: PartialEq<T> + PartialEq<T> + PartialEq<T>

fn eq(&self, __arg_0: &Bound<T>) -> bool

fn ne(&self, __arg_0: &Bound<T>) -> bool

impl<T> Hash for Bound<T> where T: Hash + Hash + Hash

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl<T> Debug for Bound<T> where T: Debug + Debug + Debug

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl<T> Copy for Bound<T> where T: Copy + Copy + Copy

impl<T> Clone for Bound<T> where T: Clone + Clone + Clone

fn clone(&self) -> Bound<T>

fn clone_from(&mut self, source: &Self)