Struct interval::interval_set::IntervalSet
[−]
[src]
pub struct IntervalSet<Bound: Width> { /* fields omitted */ }
Methods
impl<Bound> IntervalSet<Bound> where Bound: Width + Num
[src]
fn interval_count(&self) -> usize
Trait Implementations
impl<Bound: Debug + Width> Debug for IntervalSet<Bound> where Bound::Output: Debug
[src]
impl<Bound: Clone + Width> Clone for IntervalSet<Bound> where Bound::Output: Clone
[src]
fn clone(&self) -> IntervalSet<Bound>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<Bound: Width> IntervalKind for IntervalSet<Bound>
[src]
impl<Bound: Width> Collection for IntervalSet<Bound>
[src]
type Item = Bound
impl<Bound> Extend<Interval<Bound>> for IntervalSet<Bound> where Bound: Width + Num
[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> PartialEq<IntervalSet<Bound>> for IntervalSet<Bound> where Bound: Width + Num
[src]
fn eq(&self, other: &IntervalSet<Bound>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl<Bound> Range for IntervalSet<Bound> where Bound: Width + Num
[src]
fn new(lb: Bound, ub: Bound) -> IntervalSet<Bound>
impl<Bound> Whole for IntervalSet<Bound> where Bound: Width + Num
[src]
fn whole() -> IntervalSet<Bound>
impl<Bound> Bounded for IntervalSet<Bound> where Bound: Width + Num + PartialOrd
[src]
impl<Bound: Width + Num> Singleton for IntervalSet<Bound>
[src]
fn singleton(x: Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> Empty for IntervalSet<Bound>
[src]
fn empty() -> IntervalSet<Bound>
impl<Bound: Width + Num> Cardinality for IntervalSet<Bound>
[src]
impl<Bound: Width + Num> IsSingleton for IntervalSet<Bound>
[src]
fn is_singleton(&self) -> bool
impl<Bound: Width + Num> IsEmpty for IntervalSet<Bound>
[src]
impl<Bound: Width + Num> Contains for IntervalSet<Bound>
[src]
impl<Bound> Union<Bound> for IntervalSet<Bound> where Bound: Width + Num + Clone
[src]
type Output = IntervalSet<Bound>
fn union(&self, rhs: &Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> Union for IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
fn union(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>
impl<Bound> Intersection<Bound> for IntervalSet<Bound> where Bound: Width + Num + Clone
[src]
type Output = IntervalSet<Bound>
fn intersection(&self, rhs: &Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> Intersection for IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
fn intersection(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>
impl<Bound: Width + Num> Complement for IntervalSet<Bound>
[src]
fn complement(&self) -> IntervalSet<Bound>
impl<Bound> Difference<Bound> for IntervalSet<Bound> where Bound: Width + Num + Clone
[src]
type Output = IntervalSet<Bound>
fn difference(&self, rhs: &Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> Difference for IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
fn difference(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>
impl<Bound> SymmetricDifference<Bound> for IntervalSet<Bound> where Bound: Width + Num + Clone
[src]
type Output = IntervalSet<Bound>
fn symmetric_difference(&self, rhs: &Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> SymmetricDifference for IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
fn symmetric_difference(&self, rhs: &IntervalSet<Bound>) -> IntervalSet<Bound>
impl<Bound: Width + Num> Overlap for IntervalSet<Bound>
[src]
fn overlap(&self, rhs: &IntervalSet<Bound>) -> bool
impl<Bound: Width + Num> Overlap<Bound> for IntervalSet<Bound>
[src]
impl<Bound: Width + Num> Overlap<Optional<Bound>> for IntervalSet<Bound>
[src]
impl<Bound: Width + Num> Disjoint for IntervalSet<Bound>
[src]
fn is_disjoint(&self, rhs: &IntervalSet<Bound>) -> bool
impl<Bound: Width + Num> ShrinkLeft for IntervalSet<Bound> where Bound::Output: Clone
[src]
fn shrink_left(&self, lb: Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> ShrinkRight for IntervalSet<Bound> where Bound::Output: Clone
[src]
fn shrink_right(&self, ub: Bound) -> IntervalSet<Bound>
impl<Bound: Width + Num> Subset for IntervalSet<Bound>
[src]
fn is_subset(&self, other: &IntervalSet<Bound>) -> bool
impl<Bound: Width + Num> ProperSubset for IntervalSet<Bound>
[src]
fn is_proper_subset(&self, other: &IntervalSet<Bound>) -> bool
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>
The method for the +
operator
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>
The method for the +
operator
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>
The method for the +
operator
impl<'a, 'b, Bound: Num + Width> Add<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
The resulting type after applying the +
operator
fn add(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>
The method for the +
operator
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>
The method for the +
operator
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>
The method for the +
operator
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>
The method for the +
operator
impl<'a, 'b, Bound: Num + Width + Clone> Add<&'b Bound> for &'a IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
The resulting type after applying the +
operator
fn add(self, other: &Bound) -> IntervalSet<Bound>
The method for the +
operator
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>
The method for the -
operator
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>
The method for the -
operator
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>
The method for the -
operator
impl<'a, 'b, Bound: Num + Width> Sub<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
The resulting type after applying the -
operator
fn sub(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>
The method for the -
operator
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>
The method for the -
operator
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>
The method for the -
operator
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>
The method for the -
operator
impl<'a, 'b, Bound: Num + Width + Clone> Sub<&'b Bound> for &'a IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
The resulting type after applying the -
operator
fn sub(self, other: &Bound) -> IntervalSet<Bound>
The method for the -
operator
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>
The method for the *
operator
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>
The method for the *
operator
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>
The method for the *
operator
impl<'a, 'b, Bound: Num + Width> Mul<&'b IntervalSet<Bound>> for &'a IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
The resulting type after applying the *
operator
fn mul(self, other: &IntervalSet<Bound>) -> IntervalSet<Bound>
The method for the *
operator
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>
The method for the *
operator
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>
The method for the *
operator
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>
The method for the *
operator
impl<'a, 'b, Bound: Num + Width + Clone> Mul<&'b Bound> for &'a IntervalSet<Bound>
[src]
type Output = IntervalSet<Bound>
The resulting type after applying the *
operator
fn mul(self, other: &Bound) -> IntervalSet<Bound>
The method for the *
operator