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. Read more

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]

IsSingleton and IsEmpty are defined automatically in gcollections.

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

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

impl Disjoint<Interval<i8>> for i8
[src]

impl Disjoint<Interval<u8>> for u8
[src]

impl Disjoint<Interval<i16>> for i16
[src]

impl Disjoint<Interval<u16>> for u16
[src]

impl Disjoint<Interval<i32>> for i32
[src]

impl Disjoint<Interval<u32>> for u32
[src]

impl Disjoint<Interval<i64>> for i64
[src]

impl Disjoint<Interval<u64>> for u64
[src]

impl Disjoint<Interval<isize>> for isize
[src]

impl Disjoint<Interval<usize>> for usize
[src]

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

impl Disjoint<Interval<i8>> for Optional<i8>
[src]

impl Disjoint<Interval<u8>> for Optional<u8>
[src]

impl Disjoint<Interval<i16>> for Optional<i16>
[src]

impl Disjoint<Interval<u16>> for Optional<u16>
[src]

impl Disjoint<Interval<i32>> for Optional<i32>
[src]

impl Disjoint<Interval<u32>> for Optional<u32>
[src]

impl Disjoint<Interval<i64>> for Optional<i64>
[src]

impl Disjoint<Interval<u64>> for Optional<u64>
[src]

impl Disjoint<Interval<isize>> for Optional<isize>
[src]

impl Disjoint<Interval<usize>> for Optional<usize>
[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 Overlap<Interval<i8>> for i8
[src]

impl Overlap<Interval<u8>> for u8
[src]

impl Overlap<Interval<i16>> for i16
[src]

impl Overlap<Interval<u16>> for u16
[src]

impl Overlap<Interval<i32>> for i32
[src]

impl Overlap<Interval<u32>> for u32
[src]

impl Overlap<Interval<i64>> for i64
[src]

impl Overlap<Interval<u64>> for u64
[src]

impl Overlap<Interval<isize>> for isize
[src]

impl Overlap<Interval<usize>> for usize
[src]

impl Overlap<Interval<i8>> for Optional<i8>
[src]

impl Overlap<Interval<u8>> for Optional<u8>
[src]

impl Overlap<Interval<i16>> for Optional<i16>
[src]

impl Overlap<Interval<u16>> for Optional<u16>
[src]

impl Overlap<Interval<i32>> for Optional<i32>
[src]

impl Overlap<Interval<u32>> for Optional<u32>
[src]

impl Overlap<Interval<i64>> for Optional<i64>
[src]

impl Overlap<Interval<u64>> for Optional<u64>
[src]

impl Overlap<Interval<isize>> for Optional<isize>
[src]

impl Overlap<Interval<usize>> for Optional<usize>
[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 Hull<Interval<i8>> for i8
[src]

impl Hull<Interval<u8>> for u8
[src]

impl Hull<Interval<i16>> for i16
[src]

impl Hull<Interval<u16>> for u16
[src]

impl Hull<Interval<i32>> for i32
[src]

impl Hull<Interval<u32>> for u32
[src]

impl Hull<Interval<i64>> for i64
[src]

impl Hull<Interval<u64>> for u64
[src]

impl Hull<Interval<isize>> for isize
[src]

impl Hull<Interval<usize>> for usize
[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 Intersection<Interval<i8>> for Optional<i8>
[src]

impl Intersection<Interval<u8>> for Optional<u8>
[src]

impl Intersection<Interval<i16>> for Optional<i16>
[src]

impl Intersection<Interval<u16>> for Optional<u16>
[src]

impl Intersection<Interval<i32>> for Optional<i32>
[src]

impl Intersection<Interval<u32>> for Optional<u32>
[src]

impl Intersection<Interval<i64>> for Optional<i64>
[src]

impl Intersection<Interval<u64>> for Optional<u64>
[src]

impl Intersection<Interval<isize>> for Optional<isize>
[src]

impl Intersection<Interval<usize>> for Optional<usize>
[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 Difference<Interval<i8>> for Optional<i8>
[src]

impl Difference<Interval<u8>> for Optional<u8>
[src]

impl Difference<Interval<i16>> for Optional<i16>
[src]

impl Difference<Interval<u16>> for Optional<u16>
[src]

impl Difference<Interval<i32>> for Optional<i32>
[src]

impl Difference<Interval<u32>> for Optional<u32>
[src]

impl Difference<Interval<i64>> for Optional<i64>
[src]

impl Difference<Interval<u64>> for Optional<u64>
[src]

impl Difference<Interval<isize>> for Optional<isize>
[src]

impl Difference<Interval<usize>> for Optional<usize>
[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.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the + operator.

Performs the + operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the - operator.

Performs the - operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

The resulting type after applying the * operator.

Performs the * operation.

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

Formats the value using the given formatter. Read more

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

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

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

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

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

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

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

Extends a collection with the contents of an iterator. Read more

Auto Trait Implementations

impl<Bound> Send for Interval<Bound> where
    Bound: Send

impl<Bound> Sync for Interval<Bound> where
    Bound: Sync