Struct interval::interval::Interval [] [src]

pub struct Interval<Bound> { /* fields omitted */ }

Closed interval (endpoints included).

Trait Implementations

impl<Bound: Debug> Debug for Interval<Bound>
[src]

Formats the value using the given formatter.

impl<Bound: Copy> Copy for Interval<Bound>
[src]

impl<Bound: Clone> Clone for Interval<Bound>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Bound> IntervalKind for Interval<Bound>
[src]

impl<Bound> Collection for Interval<Bound>
[src]

impl<Bound: Width + Num> Eq for Interval<Bound>
[src]

impl<Bound> PartialEq<Interval<Bound>> for Interval<Bound> where Bound: Width + Num
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Bound> Range for Interval<Bound> where Bound: Width
[src]

impl<Bound> Bounded for Interval<Bound> where Bound: Num + Width + Clone
[src]

impl<Bound> Singleton for Interval<Bound> where Bound: Width + Clone
[src]

impl<Bound> Empty for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Whole for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Cardinality for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> IsSingleton for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> IsEmpty for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Disjoint for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Disjoint<Bound> for Interval<Bound> where Bound: Num + Ord
[src]

impl<Bound> Disjoint<Optional<Bound>> for Interval<Bound> where Bound: Num + Ord
[src]

impl<Bound> Overlap for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Overlap<Bound> for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Overlap<Optional<Bound>> for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Hull for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Hull<Bound> for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Contains for Interval<Bound> where Bound: Ord
[src]

impl<Bound> Subset for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> ProperSubset for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Intersection for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Intersection<Bound> for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Intersection<Optional<Bound>> for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Difference for Interval<Bound> where Bound: Width + Num
[src]

impl<Bound> Difference<Bound> for Interval<Bound> where Bound: Num + Clone
[src]

impl<Bound> Difference<Optional<Bound>> for Interval<Bound> where Bound: Ord + Num + Clone
[src]

impl<Bound> ShrinkLeft for Interval<Bound> where Bound: Num + Width
[src]

impl<Bound> ShrinkRight for Interval<Bound> where Bound: Num + Width
[src]

impl<Bound: Num + Width> Add<Interval<Bound>> for Interval<Bound>

The resulting type after applying the + operator

The method for the + operator

impl<'a, Bound: Num + Width> Add<Interval<Bound>> for &'a Interval<Bound>

The resulting type after applying the + operator

The method for the + operator

impl<'b, Bound: Num + Width> Add<&'b Interval<Bound>> for Interval<Bound>

The resulting type after applying the + operator

The method for the + operator

impl<'a, 'b, Bound> Add<&'b Interval<Bound>> for &'a Interval<Bound> where Bound: Num + Width
[src]

The resulting type after applying the + operator

The method for the + operator

impl<Bound: Num + Width + Clone> Add<Bound> for Interval<Bound>

The resulting type after applying the + operator

The method for the + operator

impl<'a, Bound: Num + Width + Clone> Add<Bound> for &'a Interval<Bound>

The resulting type after applying the + operator

The method for the + operator

impl<'b, Bound: Num + Width + Clone> Add<&'b Bound> for Interval<Bound>

The resulting type after applying the + operator

The method for the + operator

impl<'a, 'b, Bound> Add<&'b Bound> for &'a Interval<Bound> where Bound: Num + Width + Clone
[src]

The resulting type after applying the + operator

The method for the + operator

impl<Bound: Num + Width> Sub<Interval<Bound>> for Interval<Bound>

The resulting type after applying the - operator

The method for the - operator

impl<'a, Bound: Num + Width> Sub<Interval<Bound>> for &'a Interval<Bound>

The resulting type after applying the - operator

The method for the - operator

impl<'b, Bound: Num + Width> Sub<&'b Interval<Bound>> for Interval<Bound>

The resulting type after applying the - operator

The method for the - operator

impl<'a, 'b, Bound> Sub<&'b Interval<Bound>> for &'a Interval<Bound> where Bound: Num + Width
[src]

The resulting type after applying the - operator

The method for the - operator

impl<Bound: Num + Width + Clone> Sub<Bound> for Interval<Bound>

The resulting type after applying the - operator

The method for the - operator

impl<'a, Bound: Num + Width + Clone> Sub<Bound> for &'a Interval<Bound>

The resulting type after applying the - operator

The method for the - operator

impl<'b, Bound: Num + Width + Clone> Sub<&'b Bound> for Interval<Bound>

The resulting type after applying the - operator

The method for the - operator

impl<'a, 'b, Bound> Sub<&'b Bound> for &'a Interval<Bound> where Bound: Num + Width + Clone
[src]

The resulting type after applying the - operator

The method for the - operator

impl<Bound: Num + Width> Mul<Interval<Bound>> for Interval<Bound>

The resulting type after applying the * operator

The method for the * operator

impl<'a, Bound: Num + Width> Mul<Interval<Bound>> for &'a Interval<Bound>

The resulting type after applying the * operator

The method for the * operator

impl<'b, Bound: Num + Width> Mul<&'b Interval<Bound>> for Interval<Bound>

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, Bound> Mul<&'b Interval<Bound>> for &'a Interval<Bound> where Bound: Num + Width
[src]

The resulting type after applying the * operator

The method for the * operator

impl<Bound: Num + Width + Clone> Mul<Bound> for Interval<Bound>

The resulting type after applying the * operator

The method for the * operator

impl<'a, Bound: Num + Width + Clone> Mul<Bound> for &'a Interval<Bound>

The resulting type after applying the * operator

The method for the * operator

impl<'b, Bound: Num + Width + Clone> Mul<&'b Bound> for Interval<Bound>

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, Bound> Mul<&'b Bound> for &'a Interval<Bound> where Bound: Num + Width + Clone
[src]

The resulting type after applying the * operator

The method for the * operator

impl<Bound> Display for Interval<Bound> where Bound: Display + Width + Num
[src]

Formats the value using the given formatter.

impl<Bound> ToInterval<Bound> for Interval<Bound>
[src]