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]
impl<Bound: Debug> Debug for Interval<Bound>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Bound: Copy> Copy for Interval<Bound>
[src]
impl<Bound: Copy> Copy for Interval<Bound>
impl<Bound: Clone> Clone for Interval<Bound>
[src]
impl<Bound: Clone> Clone for Interval<Bound>
fn clone(&self) -> Interval<Bound>
[src]
fn clone(&self) -> Interval<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> IntervalKind for Interval<Bound>
[src]
impl<Bound> IntervalKind for Interval<Bound>
impl<Bound> Collection for Interval<Bound>
[src]
impl<Bound> Collection for Interval<Bound>
type Item = Bound
impl<Bound: Width + Num> Eq for Interval<Bound>
[src]
impl<Bound: Width + Num> Eq for Interval<Bound>
impl<Bound> PartialEq<Interval<Bound>> for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> PartialEq<Interval<Bound>> for Interval<Bound> where
Bound: Width + Num,
fn eq(&self, other: &Interval<Bound>) -> bool
[src]
fn eq(&self, other: &Interval<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[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl<Bound> Range for Interval<Bound> where
Bound: Width,
[src]
impl<Bound> Range for Interval<Bound> where
Bound: Width,
impl<Bound> Bounded for Interval<Bound> where
Bound: Num + Width + Clone,
[src]
impl<Bound> Bounded for Interval<Bound> where
Bound: Num + Width + Clone,
impl<Bound> Singleton for Interval<Bound> where
Bound: Width + Clone,
[src]
impl<Bound> Singleton for Interval<Bound> where
Bound: Width + Clone,
impl<Bound> Empty for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Empty for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Whole for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Whole for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Cardinality for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Cardinality for Interval<Bound> where
Bound: Width + Num,
IsSingleton
and IsEmpty
are defined automatically in gcollections
.
impl<Bound> Disjoint for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Disjoint for Interval<Bound> where
Bound: Width + Num,
fn is_disjoint(&self, other: &Interval<Bound>) -> bool
[src]
fn is_disjoint(&self, other: &Interval<Bound>) -> bool
impl<Bound> Disjoint<Bound> for Interval<Bound> where
Bound: Num + Ord,
[src]
impl<Bound> Disjoint<Bound> for Interval<Bound> where
Bound: Num + Ord,
fn is_disjoint(&self, value: &Bound) -> bool
[src]
fn is_disjoint(&self, value: &Bound) -> bool
impl Disjoint<Interval<i8>> for i8
[src]
impl Disjoint<Interval<i8>> for i8
fn is_disjoint(&self, value: &Interval<i8>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i8>) -> bool
impl Disjoint<Interval<u8>> for u8
[src]
impl Disjoint<Interval<u8>> for u8
fn is_disjoint(&self, value: &Interval<u8>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u8>) -> bool
impl Disjoint<Interval<i16>> for i16
[src]
impl Disjoint<Interval<i16>> for i16
fn is_disjoint(&self, value: &Interval<i16>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i16>) -> bool
impl Disjoint<Interval<u16>> for u16
[src]
impl Disjoint<Interval<u16>> for u16
fn is_disjoint(&self, value: &Interval<u16>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u16>) -> bool
impl Disjoint<Interval<i32>> for i32
[src]
impl Disjoint<Interval<i32>> for i32
fn is_disjoint(&self, value: &Interval<i32>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i32>) -> bool
impl Disjoint<Interval<u32>> for u32
[src]
impl Disjoint<Interval<u32>> for u32
fn is_disjoint(&self, value: &Interval<u32>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u32>) -> bool
impl Disjoint<Interval<i64>> for i64
[src]
impl Disjoint<Interval<i64>> for i64
fn is_disjoint(&self, value: &Interval<i64>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i64>) -> bool
impl Disjoint<Interval<u64>> for u64
[src]
impl Disjoint<Interval<u64>> for u64
fn is_disjoint(&self, value: &Interval<u64>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u64>) -> bool
impl Disjoint<Interval<isize>> for isize
[src]
impl Disjoint<Interval<isize>> for isize
fn is_disjoint(&self, value: &Interval<isize>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<isize>) -> bool
impl Disjoint<Interval<usize>> for usize
[src]
impl Disjoint<Interval<usize>> for usize
fn is_disjoint(&self, value: &Interval<usize>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<usize>) -> bool
impl<Bound> Disjoint<Optional<Bound>> for Interval<Bound> where
Bound: Num + Ord,
[src]
impl<Bound> Disjoint<Optional<Bound>> for Interval<Bound> where
Bound: Num + Ord,
fn is_disjoint(&self, value: &Optional<Bound>) -> bool
[src]
fn is_disjoint(&self, value: &Optional<Bound>) -> bool
impl Disjoint<Interval<i8>> for Optional<i8>
[src]
impl Disjoint<Interval<i8>> for Optional<i8>
fn is_disjoint(&self, value: &Interval<i8>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i8>) -> bool
impl Disjoint<Interval<u8>> for Optional<u8>
[src]
impl Disjoint<Interval<u8>> for Optional<u8>
fn is_disjoint(&self, value: &Interval<u8>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u8>) -> bool
impl Disjoint<Interval<i16>> for Optional<i16>
[src]
impl Disjoint<Interval<i16>> for Optional<i16>
fn is_disjoint(&self, value: &Interval<i16>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i16>) -> bool
impl Disjoint<Interval<u16>> for Optional<u16>
[src]
impl Disjoint<Interval<u16>> for Optional<u16>
fn is_disjoint(&self, value: &Interval<u16>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u16>) -> bool
impl Disjoint<Interval<i32>> for Optional<i32>
[src]
impl Disjoint<Interval<i32>> for Optional<i32>
fn is_disjoint(&self, value: &Interval<i32>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i32>) -> bool
impl Disjoint<Interval<u32>> for Optional<u32>
[src]
impl Disjoint<Interval<u32>> for Optional<u32>
fn is_disjoint(&self, value: &Interval<u32>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u32>) -> bool
impl Disjoint<Interval<i64>> for Optional<i64>
[src]
impl Disjoint<Interval<i64>> for Optional<i64>
fn is_disjoint(&self, value: &Interval<i64>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<i64>) -> bool
impl Disjoint<Interval<u64>> for Optional<u64>
[src]
impl Disjoint<Interval<u64>> for Optional<u64>
fn is_disjoint(&self, value: &Interval<u64>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<u64>) -> bool
impl Disjoint<Interval<isize>> for Optional<isize>
[src]
impl Disjoint<Interval<isize>> for Optional<isize>
fn is_disjoint(&self, value: &Interval<isize>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<isize>) -> bool
impl Disjoint<Interval<usize>> for Optional<usize>
[src]
impl Disjoint<Interval<usize>> for Optional<usize>
fn is_disjoint(&self, value: &Interval<usize>) -> bool
[src]
fn is_disjoint(&self, value: &Interval<usize>) -> bool
impl<Bound> Overlap for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Overlap for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Overlap<Bound> for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Overlap<Bound> for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Overlap<Optional<Bound>> for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Overlap<Optional<Bound>> for Interval<Bound> where
Bound: Width + Num,
impl Overlap<Interval<i8>> for i8
[src]
impl Overlap<Interval<i8>> for i8
impl Overlap<Interval<u8>> for u8
[src]
impl Overlap<Interval<u8>> for u8
impl Overlap<Interval<i16>> for i16
[src]
impl Overlap<Interval<i16>> for i16
impl Overlap<Interval<u16>> for u16
[src]
impl Overlap<Interval<u16>> for u16
impl Overlap<Interval<i32>> for i32
[src]
impl Overlap<Interval<i32>> for i32
impl Overlap<Interval<u32>> for u32
[src]
impl Overlap<Interval<u32>> for u32
impl Overlap<Interval<i64>> for i64
[src]
impl Overlap<Interval<i64>> for i64
impl Overlap<Interval<u64>> for u64
[src]
impl Overlap<Interval<u64>> for u64
impl Overlap<Interval<isize>> for isize
[src]
impl Overlap<Interval<isize>> for isize
impl Overlap<Interval<usize>> for usize
[src]
impl Overlap<Interval<usize>> for usize
impl Overlap<Interval<i8>> for Optional<i8>
[src]
impl Overlap<Interval<i8>> for Optional<i8>
impl Overlap<Interval<u8>> for Optional<u8>
[src]
impl Overlap<Interval<u8>> for Optional<u8>
impl Overlap<Interval<i16>> for Optional<i16>
[src]
impl Overlap<Interval<i16>> for Optional<i16>
impl Overlap<Interval<u16>> for Optional<u16>
[src]
impl Overlap<Interval<u16>> for Optional<u16>
impl Overlap<Interval<i32>> for Optional<i32>
[src]
impl Overlap<Interval<i32>> for Optional<i32>
impl Overlap<Interval<u32>> for Optional<u32>
[src]
impl Overlap<Interval<u32>> for Optional<u32>
impl Overlap<Interval<i64>> for Optional<i64>
[src]
impl Overlap<Interval<i64>> for Optional<i64>
impl Overlap<Interval<u64>> for Optional<u64>
[src]
impl Overlap<Interval<u64>> for Optional<u64>
impl Overlap<Interval<isize>> for Optional<isize>
[src]
impl Overlap<Interval<isize>> for Optional<isize>
impl Overlap<Interval<usize>> for Optional<usize>
[src]
impl Overlap<Interval<usize>> for Optional<usize>
impl<Bound> Hull for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Hull for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Hull<Bound> for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Hull<Bound> for Interval<Bound> where
Bound: Width + Num,
impl Hull<Interval<i8>> for i8
[src]
impl Hull<Interval<i8>> for i8
impl Hull<Interval<u8>> for u8
[src]
impl Hull<Interval<u8>> for u8
impl Hull<Interval<i16>> for i16
[src]
impl Hull<Interval<i16>> for i16
impl Hull<Interval<u16>> for u16
[src]
impl Hull<Interval<u16>> for u16
impl Hull<Interval<i32>> for i32
[src]
impl Hull<Interval<i32>> for i32
impl Hull<Interval<u32>> for u32
[src]
impl Hull<Interval<u32>> for u32
impl Hull<Interval<i64>> for i64
[src]
impl Hull<Interval<i64>> for i64
impl Hull<Interval<u64>> for u64
[src]
impl Hull<Interval<u64>> for u64
impl Hull<Interval<isize>> for isize
[src]
impl Hull<Interval<isize>> for isize
impl Hull<Interval<usize>> for usize
[src]
impl Hull<Interval<usize>> for usize
impl<Bound> Contains for Interval<Bound> where
Bound: Ord,
[src]
impl<Bound> Contains for Interval<Bound> where
Bound: Ord,
impl<Bound> Subset for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Subset for Interval<Bound> where
Bound: Width + Num,
impl<Bound> ProperSubset for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> ProperSubset for Interval<Bound> where
Bound: Width + Num,
fn is_proper_subset(&self, other: &Interval<Bound>) -> bool
[src]
fn is_proper_subset(&self, other: &Interval<Bound>) -> bool
impl<Bound> Intersection for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Intersection for Interval<Bound> where
Bound: Width + Num,
type Output = Interval<Bound>
fn intersection(&self, other: &Interval<Bound>) -> Interval<Bound>
[src]
fn intersection(&self, other: &Interval<Bound>) -> Interval<Bound>
impl<Bound> Intersection<Bound> for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Intersection<Bound> for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Intersection<Optional<Bound>> for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Intersection<Optional<Bound>> for Interval<Bound> where
Bound: Width + Num,
type Output = Interval<Bound>
fn intersection(&self, value: &Optional<Bound>) -> Interval<Bound>
[src]
fn intersection(&self, value: &Optional<Bound>) -> Interval<Bound>
impl Intersection<Interval<i8>> for Optional<i8>
[src]
impl Intersection<Interval<i8>> for Optional<i8>
impl Intersection<Interval<u8>> for Optional<u8>
[src]
impl Intersection<Interval<u8>> for Optional<u8>
impl Intersection<Interval<i16>> for Optional<i16>
[src]
impl Intersection<Interval<i16>> for Optional<i16>
impl Intersection<Interval<u16>> for Optional<u16>
[src]
impl Intersection<Interval<u16>> for Optional<u16>
impl Intersection<Interval<i32>> for Optional<i32>
[src]
impl Intersection<Interval<i32>> for Optional<i32>
impl Intersection<Interval<u32>> for Optional<u32>
[src]
impl Intersection<Interval<u32>> for Optional<u32>
impl Intersection<Interval<i64>> for Optional<i64>
[src]
impl Intersection<Interval<i64>> for Optional<i64>
impl Intersection<Interval<u64>> for Optional<u64>
[src]
impl Intersection<Interval<u64>> for Optional<u64>
impl Intersection<Interval<isize>> for Optional<isize>
[src]
impl Intersection<Interval<isize>> for Optional<isize>
type Output = Optional<isize>
fn intersection(&self, other: &Interval<isize>) -> Optional<isize>
[src]
fn intersection(&self, other: &Interval<isize>) -> Optional<isize>
impl Intersection<Interval<usize>> for Optional<usize>
[src]
impl Intersection<Interval<usize>> for Optional<usize>
type Output = Optional<usize>
fn intersection(&self, other: &Interval<usize>) -> Optional<usize>
[src]
fn intersection(&self, other: &Interval<usize>) -> Optional<usize>
impl<Bound> Difference for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Difference for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Difference<Bound> for Interval<Bound> where
Bound: Num + Clone,
[src]
impl<Bound> Difference<Bound> for Interval<Bound> where
Bound: Num + Clone,
impl<Bound> Difference<Optional<Bound>> for Interval<Bound> where
Bound: Ord + Num + Clone,
[src]
impl<Bound> Difference<Optional<Bound>> for Interval<Bound> where
Bound: Ord + Num + Clone,
impl Difference<Interval<i8>> for Optional<i8>
[src]
impl Difference<Interval<i8>> for Optional<i8>
impl Difference<Interval<u8>> for Optional<u8>
[src]
impl Difference<Interval<u8>> for Optional<u8>
impl Difference<Interval<i16>> for Optional<i16>
[src]
impl Difference<Interval<i16>> for Optional<i16>
impl Difference<Interval<u16>> for Optional<u16>
[src]
impl Difference<Interval<u16>> for Optional<u16>
impl Difference<Interval<i32>> for Optional<i32>
[src]
impl Difference<Interval<i32>> for Optional<i32>
impl Difference<Interval<u32>> for Optional<u32>
[src]
impl Difference<Interval<u32>> for Optional<u32>
impl Difference<Interval<i64>> for Optional<i64>
[src]
impl Difference<Interval<i64>> for Optional<i64>
impl Difference<Interval<u64>> for Optional<u64>
[src]
impl Difference<Interval<u64>> for Optional<u64>
impl Difference<Interval<isize>> for Optional<isize>
[src]
impl Difference<Interval<isize>> for Optional<isize>
impl Difference<Interval<usize>> for Optional<usize>
[src]
impl Difference<Interval<usize>> for Optional<usize>
impl<Bound> ShrinkLeft for Interval<Bound> where
Bound: Num + Width,
[src]
impl<Bound> ShrinkLeft for Interval<Bound> where
Bound: Num + Width,
fn shrink_left(&self, lb: Bound) -> Interval<Bound>
[src]
fn shrink_left(&self, lb: Bound) -> Interval<Bound>
impl<Bound> ShrinkRight for Interval<Bound> where
Bound: Num + Width,
[src]
impl<Bound> ShrinkRight for Interval<Bound> where
Bound: Num + Width,
fn shrink_right(&self, ub: Bound) -> Interval<Bound>
[src]
fn shrink_right(&self, ub: Bound) -> Interval<Bound>
impl<Bound: Num + Width> Add<Interval<Bound>> for Interval<Bound>
impl<Bound: Num + Width> Add<Interval<Bound>> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: Interval<Bound>) -> Interval<Bound>
fn add(self, other: Interval<Bound>) -> Interval<Bound>
Performs the +
operation.
impl<'a, Bound: Num + Width> Add<Interval<Bound>> for &'a Interval<Bound>
impl<'a, Bound: Num + Width> Add<Interval<Bound>> for &'a Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: Interval<Bound>) -> Interval<Bound>
fn add(self, other: Interval<Bound>) -> Interval<Bound>
Performs the +
operation.
impl<'b, Bound: Num + Width> Add<&'b Interval<Bound>> for Interval<Bound>
impl<'b, Bound: Num + Width> Add<&'b Interval<Bound>> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: &Interval<Bound>) -> Interval<Bound>
fn add(self, other: &Interval<Bound>) -> Interval<Bound>
Performs the +
operation.
impl<'a, 'b, Bound> Add<&'b Interval<Bound>> for &'a Interval<Bound> where
Bound: Num + Width,
[src]
impl<'a, 'b, Bound> Add<&'b Interval<Bound>> for &'a Interval<Bound> where
Bound: Num + Width,
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: &Interval<Bound>) -> Interval<Bound>
[src]
fn add(self, other: &Interval<Bound>) -> Interval<Bound>
Performs the +
operation.
impl<Bound: Num + Width + Clone> Add<Bound> for Interval<Bound>
impl<Bound: Num + Width + Clone> Add<Bound> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: Bound) -> Interval<Bound>
fn add(self, other: Bound) -> Interval<Bound>
Performs the +
operation.
impl<'a, Bound: Num + Width + Clone> Add<Bound> for &'a Interval<Bound>
impl<'a, Bound: Num + Width + Clone> Add<Bound> for &'a Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: Bound) -> Interval<Bound>
fn add(self, other: Bound) -> Interval<Bound>
Performs the +
operation.
impl<'b, Bound: Num + Width + Clone> Add<&'b Bound> for Interval<Bound>
impl<'b, Bound: Num + Width + Clone> Add<&'b Bound> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: &Bound) -> Interval<Bound>
fn add(self, other: &Bound) -> Interval<Bound>
Performs the +
operation.
impl<'a, 'b, Bound> Add<&'b Bound> for &'a Interval<Bound> where
Bound: Num + Width + Clone,
[src]
impl<'a, 'b, Bound> Add<&'b Bound> for &'a Interval<Bound> where
Bound: Num + Width + Clone,
type Output = Interval<Bound>
The resulting type after applying the +
operator.
fn add(self, other: &Bound) -> Interval<Bound>
[src]
fn add(self, other: &Bound) -> Interval<Bound>
Performs the +
operation.
impl<Bound: Num + Width> Sub<Interval<Bound>> for Interval<Bound>
impl<Bound: Num + Width> Sub<Interval<Bound>> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: Interval<Bound>) -> Interval<Bound>
fn sub(self, other: Interval<Bound>) -> Interval<Bound>
Performs the -
operation.
impl<'a, Bound: Num + Width> Sub<Interval<Bound>> for &'a Interval<Bound>
impl<'a, Bound: Num + Width> Sub<Interval<Bound>> for &'a Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: Interval<Bound>) -> Interval<Bound>
fn sub(self, other: Interval<Bound>) -> Interval<Bound>
Performs the -
operation.
impl<'b, Bound: Num + Width> Sub<&'b Interval<Bound>> for Interval<Bound>
impl<'b, Bound: Num + Width> Sub<&'b Interval<Bound>> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: &Interval<Bound>) -> Interval<Bound>
fn sub(self, other: &Interval<Bound>) -> Interval<Bound>
Performs the -
operation.
impl<'a, 'b, Bound> Sub<&'b Interval<Bound>> for &'a Interval<Bound> where
Bound: Num + Width,
[src]
impl<'a, 'b, Bound> Sub<&'b Interval<Bound>> for &'a Interval<Bound> where
Bound: Num + Width,
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: &Interval<Bound>) -> Interval<Bound>
[src]
fn sub(self, other: &Interval<Bound>) -> Interval<Bound>
Performs the -
operation.
impl<Bound: Num + Width + Clone> Sub<Bound> for Interval<Bound>
impl<Bound: Num + Width + Clone> Sub<Bound> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: Bound) -> Interval<Bound>
fn sub(self, other: Bound) -> Interval<Bound>
Performs the -
operation.
impl<'a, Bound: Num + Width + Clone> Sub<Bound> for &'a Interval<Bound>
impl<'a, Bound: Num + Width + Clone> Sub<Bound> for &'a Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: Bound) -> Interval<Bound>
fn sub(self, other: Bound) -> Interval<Bound>
Performs the -
operation.
impl<'b, Bound: Num + Width + Clone> Sub<&'b Bound> for Interval<Bound>
impl<'b, Bound: Num + Width + Clone> Sub<&'b Bound> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: &Bound) -> Interval<Bound>
fn sub(self, other: &Bound) -> Interval<Bound>
Performs the -
operation.
impl<'a, 'b, Bound> Sub<&'b Bound> for &'a Interval<Bound> where
Bound: Num + Width + Clone,
[src]
impl<'a, 'b, Bound> Sub<&'b Bound> for &'a Interval<Bound> where
Bound: Num + Width + Clone,
type Output = Interval<Bound>
The resulting type after applying the -
operator.
fn sub(self, other: &Bound) -> Interval<Bound>
[src]
fn sub(self, other: &Bound) -> Interval<Bound>
Performs the -
operation.
impl<Bound: Num + Width> Mul<Interval<Bound>> for Interval<Bound>
impl<Bound: Num + Width> Mul<Interval<Bound>> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: Interval<Bound>) -> Interval<Bound>
fn mul(self, other: Interval<Bound>) -> Interval<Bound>
Performs the *
operation.
impl<'a, Bound: Num + Width> Mul<Interval<Bound>> for &'a Interval<Bound>
impl<'a, Bound: Num + Width> Mul<Interval<Bound>> for &'a Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: Interval<Bound>) -> Interval<Bound>
fn mul(self, other: Interval<Bound>) -> Interval<Bound>
Performs the *
operation.
impl<'b, Bound: Num + Width> Mul<&'b Interval<Bound>> for Interval<Bound>
impl<'b, Bound: Num + Width> Mul<&'b Interval<Bound>> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: &Interval<Bound>) -> Interval<Bound>
fn mul(self, other: &Interval<Bound>) -> Interval<Bound>
Performs the *
operation.
impl<'a, 'b, Bound> Mul<&'b Interval<Bound>> for &'a Interval<Bound> where
Bound: Num + Width,
[src]
impl<'a, 'b, Bound> Mul<&'b Interval<Bound>> for &'a Interval<Bound> where
Bound: Num + Width,
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: &Interval<Bound>) -> Interval<Bound>
[src]
fn mul(self, other: &Interval<Bound>) -> Interval<Bound>
Performs the *
operation.
impl<Bound: Num + Width + Clone> Mul<Bound> for Interval<Bound>
impl<Bound: Num + Width + Clone> Mul<Bound> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: Bound) -> Interval<Bound>
fn mul(self, other: Bound) -> Interval<Bound>
Performs the *
operation.
impl<'a, Bound: Num + Width + Clone> Mul<Bound> for &'a Interval<Bound>
impl<'a, Bound: Num + Width + Clone> Mul<Bound> for &'a Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: Bound) -> Interval<Bound>
fn mul(self, other: Bound) -> Interval<Bound>
Performs the *
operation.
impl<'b, Bound: Num + Width + Clone> Mul<&'b Bound> for Interval<Bound>
impl<'b, Bound: Num + Width + Clone> Mul<&'b Bound> for Interval<Bound>
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: &Bound) -> Interval<Bound>
fn mul(self, other: &Bound) -> Interval<Bound>
Performs the *
operation.
impl<'a, 'b, Bound> Mul<&'b Bound> for &'a Interval<Bound> where
Bound: Num + Width + Clone,
[src]
impl<'a, 'b, Bound> Mul<&'b Bound> for &'a Interval<Bound> where
Bound: Num + Width + Clone,
type Output = Interval<Bound>
The resulting type after applying the *
operator.
fn mul(self, other: &Bound) -> Interval<Bound>
[src]
fn mul(self, other: &Bound) -> Interval<Bound>
Performs the *
operation.
impl<Bound> Display for Interval<Bound> where
Bound: Display + Width + Num,
[src]
impl<Bound> Display for Interval<Bound> where
Bound: Display + Width + Num,
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<Bound> ToInterval<Bound> for Interval<Bound>
[src]
impl<Bound> ToInterval<Bound> for Interval<Bound>
fn to_interval(self) -> Interval<Bound>
[src]
fn to_interval(self) -> Interval<Bound>
impl<Bound> Join for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Join for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Meet for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Meet for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Entailment for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Entailment for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Top for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Top for Interval<Bound> where
Bound: Width + Num,
impl<Bound> Bot for Interval<Bound> where
Bound: Width + Num,
[src]
impl<Bound> Bot for Interval<Bound> where
Bound: Width + Num,
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