[−][src]Enum inari::OverlappingState
States returned by Interval::overlap
.
Variants
Both self
and rhs
are empty.
Equivalently, $\self = \rhs = ∅$.
self
is empty while rhs
is not.
Equivalently, $\self = ∅ ∧ \rhs ≠ ∅$.
rhs
is empty while self
is not.
Equivalently, $\self ≠ ∅ ∧ \rhs = ∅$.
a b
self: •——————•
rhs: •——————•
c d
Both self
and rhs
are nonempty and $b < c$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ ∀x ∈ \self, ∀y ∈ \rhs : x < y$.
a b
self: •——————•
rhs: •——————•
c d
Both self
and rhs
are nonempty and $a < b ∧ b = c ∧ c < d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∀x ∈ \self, ∀y ∈ \rhs : x ≤ y) ∧ (∃x ∈ \self, ∀y ∈ \rhs : x < y) ∧ (∃x ∈ \self, ∃y ∈ \rhs : x = y)$.
a b
self: •——————•
rhs: •——————•
c d
Both self
and rhs
are nonempty and $a < c ∧ c < b ∧ b < d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∃x ∈ \self, ∀y ∈ \rhs : x < y) ∧ (∃y ∈ \rhs, ∀x ∈ \self : x < y) ∧ (∃x ∈ \self, ∃y ∈ \rhs : y < x)$.
a b a,b
self: •————• self: • (point)
rhs: •————————• rhs: •——————•
c d c d
Both self
and rhs
are nonempty and $a = c ∧ b < d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∀y ∈ \rhs, ∃x ∈ \self : x ≤ y) ∧ (∀x ∈ \self, ∃y ∈ \rhs : y ≤ x) ∧ (∃y ∈ \rhs, ∀x ∈ \self : x < y)$.
a b
self: •————•
rhs: •————————•
c d
Both self
and rhs
are nonempty and $c < a ∧ b < d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∃y ∈ \rhs, ∀x ∈ \self : y < x) ∧ (∃y ∈ \rhs, ∀x ∈ \self : x < y)$.
a b a,b
self: •————• self: • (point)
rhs: •————————• rhs: •——————•
c d c d
Both self
and rhs
are nonempty and $c < a ∧ b = d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∃y ∈ \rhs, ∀x ∈ \self : y < x) ∧ (∀y ∈ \rhs, ∃x ∈ \self : y ≤ x) ∧ (∀x ∈ \self, ∃y ∈ \rhs : x ≤ y)$.
a b a,b
self: •——————• self: • (point)
rhs: •——————• rhs: • (point)
c d c,d
Both self
and rhs
are nonempty and $a = c ∧ b = d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∀x ∈ \self, ∃y ∈ \rhs : x = y) ∧ (∀y ∈ \rhs, ∃x ∈ \self : y = x)$.
a b a b
self: •————————• self: •——————•
rhs: •————• rhs: • (point)
c d c,d
Both self
and rhs
are nonempty and $a < c ∧ b = d$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∃x ∈ \self, ∀y ∈ \rhs : x < y) ∧ (∀x ∈ \self, ∃y ∈ \rhs : x ≤ y) ∧ (∀y ∈ \rhs, ∃x ∈ \self : y ≤ x)$.
a b
self: •————————•
rhs: •————•
c d
Both self
and rhs
are nonempty and $a < c ∧ d < b$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∃x ∈ \self, ∀y ∈ \rhs : x < y) ∧ (∃x ∈ \self, ∀y ∈ \rhs : y < x)$.
a b a b
self: •————————• self: •——————•
rhs: •————• rhs: • (point)
c d c,d
Both self
and rhs
are nonempty and $a = c ∧ d < b$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∀x ∈ \self, ∃y ∈ \rhs : y ≤ x) ∧ (∀y ∈ \rhs, ∃x ∈ \self : x ≤ y) ∧ (∃x ∈ \self, ∀y ∈ \rhs : y < x)$.
a b
self: •——————•
rhs: •——————•
c d
Both self
and rhs
are nonempty and $c < a ∧ a < d ∧ d < b$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∃y ∈ \rhs, ∀x ∈ \self : y < x) ∧ (∃x ∈ \self, ∀y ∈ \rhs : y < x) ∧ (∃y ∈ \rhs, ∃x ∈ \self : x < y)$.
a b
self: •——————•
rhs: •——————•
c d
Both self
and rhs
are nonempty and $c < d ∧ a = d ∧ a < b$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ (∀y ∈ \rhs, ∀x ∈ \self : y ≤ x) ∧ (∃y ∈ \rhs, ∃x ∈ \self : y = x) ∧ (∃y ∈ \rhs, ∀x ∈ \self : y < x)$.
a b
self: •——————•
rhs: •——————•
c d
Both self
and rhs
are nonempty and $d < a$.
Equivalently, $\self ≠ ∅ ∧ \rhs ≠ ∅ ∧ ∀y ∈ \rhs, ∀x ∈ \self : y < x$.
Trait Implementations
impl Clone for OverlappingState
[src]
fn clone(&self) -> OverlappingState
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for OverlappingState
[src]
impl Debug for OverlappingState
[src]
impl Eq for OverlappingState
[src]
impl PartialEq<OverlappingState> for OverlappingState
[src]
fn eq(&self, other: &OverlappingState) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for OverlappingState
[src]
impl StructuralPartialEq for OverlappingState
[src]
Auto Trait Implementations
impl RefUnwindSafe for OverlappingState
impl Send for OverlappingState
impl Sync for OverlappingState
impl Unpin for OverlappingState
impl UnwindSafe for OverlappingState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Az for T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedAs for T
[src]
fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
T: CheckedCast<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> OverflowingAs for T
[src]
fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
T: OverflowingCast<Dst>,
impl<T> SaturatingAs for T
[src]
fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
T: SaturatingCast<Dst>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WrappingAs for T
[src]
fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
T: WrappingCast<Dst>,