Subset

Trait Subset 

Source
pub trait Subset<Rhs> {
    // Required method
    fn is_subset(&self, other: &Rhs) -> bool;
}

Required Methods§

Source

fn is_subset(&self, other: &Rhs) -> bool

Returns true if self is a subset of other.

Implementations on Foreign Types§

Source§

impl<T: Copy + Ord> Subset<Range<T>> for Range<T>

Source§

fn is_subset(&self, other: &Range<T>) -> bool

Source§

impl<T: Copy + Ord> Subset<RangeSet<T>> for Range<T>

Source§

fn is_subset(&self, other: &RangeSet<T>) -> bool

Implementors§

Source§

impl<T: Copy + Ord> Subset<Range<T>> for RangeSet<T>

Source§

impl<T: Copy + Ord> Subset<RangeSet<T>> for RangeSet<T>