Struct interval::interval_set::IntervalSet [−][src]
pub struct IntervalSet<Bound: Width> { /* fields omitted */ }
Methods
impl<Bound> IntervalSet<Bound> where
Bound: Width + Num, [src]
impl<Bound> IntervalSet<Bound> where
Bound: Width + Num, pub fn interval_count(&self) -> usize[src]
pub fn interval_count(&self) -> usizeTrait Implementations
impl<Bound: Debug + Width> Debug for IntervalSet<Bound> where
Bound::Output: Debug, [src]
impl<Bound: Debug + Width> Debug for IntervalSet<Bound> where
Bound::Output: Debug, fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<Bound: Clone + Width> Clone for IntervalSet<Bound> where
Bound::Output: Clone, [src]
impl<Bound: Clone + Width> Clone for IntervalSet<Bound> where
Bound::Output: Clone, fn clone(&self) -> IntervalSet<Bound>[src]
fn clone(&self) -> IntervalSet<Bound>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<Bound: Width> IntervalKind for IntervalSet<Bound>[src]
impl<Bound: Width> IntervalKind for IntervalSet<Bound>impl<Bound: Width> Collection for IntervalSet<Bound>[src]
impl<Bound: Width> Collection for IntervalSet<Bound>type Item = Bound
impl<Bound> Extend<Interval<Bound>> for IntervalSet<Bound> where
Bound: Width + Num, [src]
impl<Bound> Extend<Interval<Bound>> for IntervalSet<Bound> where
Bound: Width + Num, fn extend<I>(&mut self, iterable: I) where
I: IntoIterator<Item = Interval<Bound>>, [src]
fn extend<I>(&mut self, iterable: I) where
I: IntoIterator<Item = Interval<Bound>>, Extends a collection with the contents of an iterator. Read more
impl<Bound: Width + Num> Eq for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Eq for IntervalSet<Bound>impl<Bound> PartialEq<IntervalSet<Bound>> for IntervalSet<Bound> where
Bound: Width + Num, [src]
impl<Bound> PartialEq<IntervalSet<Bound>> for IntervalSet<Bound> where
Bound: Width + Num, fn eq(&self, other: &IntervalSet<Bound>) -> bool[src]
fn eq(&self, other: &IntervalSet<Bound>) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=.
impl<Bound> Range for IntervalSet<Bound> where
Bound: Width + Num, [src]
impl<Bound> Range for IntervalSet<Bound> where
Bound: Width + Num, fn new(lb: Bound, ub: Bound) -> IntervalSet<Bound>[src]
fn new(lb: Bound, ub: Bound) -> IntervalSet<Bound>impl<Bound> Whole for IntervalSet<Bound> where
Bound: Width + Num, [src]
impl<Bound> Whole for IntervalSet<Bound> where
Bound: Width + Num, fn whole() -> IntervalSet<Bound>[src]
fn whole() -> IntervalSet<Bound>impl<Bound> Bounded for IntervalSet<Bound> where
Bound: Width + Num + PartialOrd, [src]
impl<Bound> Bounded for IntervalSet<Bound> where
Bound: Width + Num + PartialOrd, impl<Bound: Width + Num> Singleton for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Singleton for IntervalSet<Bound>fn singleton(x: Bound) -> IntervalSet<Bound>[src]
fn singleton(x: Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> Empty for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Empty for IntervalSet<Bound>fn empty() -> IntervalSet<Bound>[src]
fn empty() -> IntervalSet<Bound>impl<Bound: Width + Num> Cardinality for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Cardinality for IntervalSet<Bound>IsSingleton and IsEmpty are defined automatically in gcollections.
impl<Bound: Width + Num> Contains for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Contains for IntervalSet<Bound>impl<Bound> Union<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, [src]
impl<Bound> Union<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, type Output = IntervalSet<Bound>
fn union(&self, rhs: &Bound) -> IntervalSet<Bound>[src]
fn union(&self, rhs: &Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> Union for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Union for IntervalSet<Bound>type Output = IntervalSet<Bound>
fn union(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn union(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>impl<Bound> Intersection<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, [src]
impl<Bound> Intersection<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, type Output = IntervalSet<Bound>
fn intersection(&self, rhs: &Bound) -> IntervalSet<Bound>[src]
fn intersection(&self, rhs: &Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> Intersection for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Intersection for IntervalSet<Bound>type Output = IntervalSet<Bound>
fn intersection(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn intersection(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>impl<Bound: Width + Num> Complement for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Complement for IntervalSet<Bound>fn complement(&self) -> IntervalSet<Bound>[src]
fn complement(&self) -> IntervalSet<Bound>impl<Bound> Difference<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, [src]
impl<Bound> Difference<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, type Output = IntervalSet<Bound>
fn difference(&self, rhs: &Bound) -> IntervalSet<Bound>[src]
fn difference(&self, rhs: &Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> Difference for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Difference for IntervalSet<Bound>type Output = IntervalSet<Bound>
fn difference(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn difference(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>impl<Bound> SymmetricDifference<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, [src]
impl<Bound> SymmetricDifference<Bound> for IntervalSet<Bound> where
Bound: Width + Num + Clone, type Output = IntervalSet<Bound>
fn symmetric_difference(&self, rhs: &Bound) -> IntervalSet<Bound>[src]
fn symmetric_difference(&self, rhs: &Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> SymmetricDifference for IntervalSet<Bound>[src]
impl<Bound: Width + Num> SymmetricDifference for IntervalSet<Bound>type Output = IntervalSet<Bound>
fn symmetric_difference(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn symmetric_difference(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>impl<Bound: Width + Num> Overlap for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Overlap for IntervalSet<Bound>fn overlap(&self, rhs: &IntervalSet<Bound>) -> bool[src]
fn overlap(&self, rhs: &IntervalSet<Bound>) -> boolimpl<Bound: Width + Num> Overlap<Bound> for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Overlap<Bound> for IntervalSet<Bound>impl<Bound: Width + Num> Overlap<Optional<Bound>> for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Overlap<Optional<Bound>> for IntervalSet<Bound>impl Overlap<IntervalSet<i8>> for i8[src]
impl Overlap<IntervalSet<i8>> for i8fn overlap(&self, other: &IntervalSet<i8>) -> bool[src]
fn overlap(&self, other: &IntervalSet<i8>) -> boolimpl Overlap<IntervalSet<u8>> for u8[src]
impl Overlap<IntervalSet<u8>> for u8fn overlap(&self, other: &IntervalSet<u8>) -> bool[src]
fn overlap(&self, other: &IntervalSet<u8>) -> boolimpl Overlap<IntervalSet<i16>> for i16[src]
impl Overlap<IntervalSet<i16>> for i16fn overlap(&self, other: &IntervalSet<i16>) -> bool[src]
fn overlap(&self, other: &IntervalSet<i16>) -> boolimpl Overlap<IntervalSet<u16>> for u16[src]
impl Overlap<IntervalSet<u16>> for u16fn overlap(&self, other: &IntervalSet<u16>) -> bool[src]
fn overlap(&self, other: &IntervalSet<u16>) -> boolimpl Overlap<IntervalSet<i32>> for i32[src]
impl Overlap<IntervalSet<i32>> for i32fn overlap(&self, other: &IntervalSet<i32>) -> bool[src]
fn overlap(&self, other: &IntervalSet<i32>) -> boolimpl Overlap<IntervalSet<u32>> for u32[src]
impl Overlap<IntervalSet<u32>> for u32fn overlap(&self, other: &IntervalSet<u32>) -> bool[src]
fn overlap(&self, other: &IntervalSet<u32>) -> boolimpl Overlap<IntervalSet<i64>> for i64[src]
impl Overlap<IntervalSet<i64>> for i64fn overlap(&self, other: &IntervalSet<i64>) -> bool[src]
fn overlap(&self, other: &IntervalSet<i64>) -> boolimpl Overlap<IntervalSet<u64>> for u64[src]
impl Overlap<IntervalSet<u64>> for u64fn overlap(&self, other: &IntervalSet<u64>) -> bool[src]
fn overlap(&self, other: &IntervalSet<u64>) -> boolimpl Overlap<IntervalSet<isize>> for isize[src]
impl Overlap<IntervalSet<isize>> for isizefn overlap(&self, other: &IntervalSet<isize>) -> bool[src]
fn overlap(&self, other: &IntervalSet<isize>) -> boolimpl Overlap<IntervalSet<usize>> for usize[src]
impl Overlap<IntervalSet<usize>> for usizefn overlap(&self, other: &IntervalSet<usize>) -> bool[src]
fn overlap(&self, other: &IntervalSet<usize>) -> boolimpl<Bound: Width + Num> Disjoint for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Disjoint for IntervalSet<Bound>fn is_disjoint(&self, rhs: &IntervalSet<Bound>) -> bool[src]
fn is_disjoint(&self, rhs: &IntervalSet<Bound>) -> boolimpl<Bound: Width + Num> ShrinkLeft for IntervalSet<Bound> where
<Bound as Width>::Output: Clone, [src]
impl<Bound: Width + Num> ShrinkLeft for IntervalSet<Bound> where
<Bound as Width>::Output: Clone, fn shrink_left(&self, lb: Bound) -> IntervalSet<Bound>[src]
fn shrink_left(&self, lb: Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> ShrinkRight for IntervalSet<Bound> where
<Bound as Width>::Output: Clone, [src]
impl<Bound: Width + Num> ShrinkRight for IntervalSet<Bound> where
<Bound as Width>::Output: Clone, fn shrink_right(&self, ub: Bound) -> IntervalSet<Bound>[src]
fn shrink_right(&self, ub: Bound) -> IntervalSet<Bound>impl<Bound: Width + Num> Subset for IntervalSet<Bound>[src]
impl<Bound: Width + Num> Subset for IntervalSet<Bound>fn is_subset(&self, other: &IntervalSet<Bound>) -> bool[src]
fn is_subset(&self, other: &IntervalSet<Bound>) -> boolimpl<Bound: Width + Num> ProperSubset for IntervalSet<Bound>[src]
impl<Bound: Width + Num> ProperSubset for IntervalSet<Bound>fn is_proper_subset(&self, other: &IntervalSet<Bound>) -> bool[src]
fn is_proper_subset(&self, other: &IntervalSet<Bound>) -> boolimpl<Bound: Num + Width> Add<IntervalSet<Bound>> for IntervalSet<Bound>
impl<Bound: Num + Width> Add<IntervalSet<Bound>> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>
fn add(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>Performs the + operation.
impl<'a, Bound: Num + Width> Add<IntervalSet<Bound>> for &'a IntervalSet<Bound>
impl<'a, Bound: Num + Width> Add<IntervalSet<Bound>> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>
fn add(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>Performs the + operation.
impl<'b, Bound: Num + Width> Add<&'b IntervalSet<Bound>> for IntervalSet<Bound>
impl<'b, Bound: Num + Width> Add<&'b IntervalSet<Bound>> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>
fn add(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>Performs the + operation.
impl<'a, 'b, Bound: Num + Width> Add<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>[src]
impl<'a, 'b, Bound: Num + Width> Add<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn add(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>Performs the + operation.
impl<Bound: Num + Width + Clone> Add<Bound> for IntervalSet<Bound>
impl<Bound: Num + Width + Clone> Add<Bound> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: Bound) -> IntervalSet<Bound>
fn add(self, other: Bound) -> IntervalSet<Bound>Performs the + operation.
impl<'a, Bound: Num + Width + Clone> Add<Bound> for &'a IntervalSet<Bound>
impl<'a, Bound: Num + Width + Clone> Add<Bound> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: Bound) -> IntervalSet<Bound>
fn add(self, other: Bound) -> IntervalSet<Bound>Performs the + operation.
impl<'b, Bound: Num + Width + Clone> Add<&'b Bound> for IntervalSet<Bound>
impl<'b, Bound: Num + Width + Clone> Add<&'b Bound> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: &Bound) -> IntervalSet<Bound>
fn add(self, other: &Bound) -> IntervalSet<Bound>Performs the + operation.
impl<'a, 'b, Bound: Num + Width + Clone> Add<&'b Bound> for &'a IntervalSet<Bound>[src]
impl<'a, 'b, Bound: Num + Width + Clone> Add<&'b Bound> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the + operator.
fn add(self, other: &Bound) -> IntervalSet<Bound>[src]
fn add(self, other: &Bound) -> IntervalSet<Bound>Performs the + operation.
impl<Bound: Num + Width> Sub<IntervalSet<Bound>> for IntervalSet<Bound>
impl<Bound: Num + Width> Sub<IntervalSet<Bound>> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>
fn sub(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>Performs the - operation.
impl<'a, Bound: Num + Width> Sub<IntervalSet<Bound>> for &'a IntervalSet<Bound>
impl<'a, Bound: Num + Width> Sub<IntervalSet<Bound>> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>
fn sub(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>Performs the - operation.
impl<'b, Bound: Num + Width> Sub<&'b IntervalSet<Bound>> for IntervalSet<Bound>
impl<'b, Bound: Num + Width> Sub<&'b IntervalSet<Bound>> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>
fn sub(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>Performs the - operation.
impl<'a, 'b, Bound: Num + Width> Sub<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>[src]
impl<'a, 'b, Bound: Num + Width> Sub<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn sub(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>Performs the - operation.
impl<Bound: Num + Width + Clone> Sub<Bound> for IntervalSet<Bound>
impl<Bound: Num + Width + Clone> Sub<Bound> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: Bound) -> IntervalSet<Bound>
fn sub(self, other: Bound) -> IntervalSet<Bound>Performs the - operation.
impl<'a, Bound: Num + Width + Clone> Sub<Bound> for &'a IntervalSet<Bound>
impl<'a, Bound: Num + Width + Clone> Sub<Bound> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: Bound) -> IntervalSet<Bound>
fn sub(self, other: Bound) -> IntervalSet<Bound>Performs the - operation.
impl<'b, Bound: Num + Width + Clone> Sub<&'b Bound> for IntervalSet<Bound>
impl<'b, Bound: Num + Width + Clone> Sub<&'b Bound> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: &Bound) -> IntervalSet<Bound>
fn sub(self, other: &Bound) -> IntervalSet<Bound>Performs the - operation.
impl<'a, 'b, Bound: Num + Width + Clone> Sub<&'b Bound> for &'a IntervalSet<Bound>[src]
impl<'a, 'b, Bound: Num + Width + Clone> Sub<&'b Bound> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the - operator.
fn sub(self, other: &Bound) -> IntervalSet<Bound>[src]
fn sub(self, other: &Bound) -> IntervalSet<Bound>Performs the - operation.
impl<Bound: Num + Width> Mul<IntervalSet<Bound>> for IntervalSet<Bound>
impl<Bound: Num + Width> Mul<IntervalSet<Bound>> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>
fn mul(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>Performs the * operation.
impl<'a, Bound: Num + Width> Mul<IntervalSet<Bound>> for &'a IntervalSet<Bound>
impl<'a, Bound: Num + Width> Mul<IntervalSet<Bound>> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>
fn mul(self, other: IntervalSet<Bound>) -> IntervalSet<Bound>Performs the * operation.
impl<'b, Bound: Num + Width> Mul<&'b IntervalSet<Bound>> for IntervalSet<Bound>
impl<'b, Bound: Num + Width> Mul<&'b IntervalSet<Bound>> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>
fn mul(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>Performs the * operation.
impl<'a, 'b, Bound: Num + Width> Mul<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>[src]
impl<'a, 'b, Bound: Num + Width> Mul<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>[src]
fn mul(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>Performs the * operation.
impl<Bound: Num + Width + Clone> Mul<Bound> for IntervalSet<Bound>
impl<Bound: Num + Width + Clone> Mul<Bound> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: Bound) -> IntervalSet<Bound>
fn mul(self, other: Bound) -> IntervalSet<Bound>Performs the * operation.
impl<'a, Bound: Num + Width + Clone> Mul<Bound> for &'a IntervalSet<Bound>
impl<'a, Bound: Num + Width + Clone> Mul<Bound> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: Bound) -> IntervalSet<Bound>
fn mul(self, other: Bound) -> IntervalSet<Bound>Performs the * operation.
impl<'b, Bound: Num + Width + Clone> Mul<&'b Bound> for IntervalSet<Bound>
impl<'b, Bound: Num + Width + Clone> Mul<&'b Bound> for IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: &Bound) -> IntervalSet<Bound>
fn mul(self, other: &Bound) -> IntervalSet<Bound>Performs the * operation.
impl<'a, 'b, Bound: Num + Width + Clone> Mul<&'b Bound> for &'a IntervalSet<Bound>[src]
impl<'a, 'b, Bound: Num + Width + Clone> Mul<&'b Bound> for &'a IntervalSet<Bound>type Output = IntervalSet<Bound>
The resulting type after applying the * operator.
fn mul(self, other: &Bound) -> IntervalSet<Bound>[src]
fn mul(self, other: &Bound) -> IntervalSet<Bound>Performs the * operation.
impl<Bound: Display + Width + Num> Display for IntervalSet<Bound> where
<Bound as Width>::Output: Display, [src]
impl<Bound: Display + Width + Num> Display for IntervalSet<Bound> where
<Bound as Width>::Output: Display,