[][src]Enum range_ext::intersect::IntersectionExt

pub enum IntersectionExt {
    Bellow,
    BellowOverlap,
    Within,
    Same,
    Over,
    AboveOverlap,
    Above,
}

More precise intersection of two ranges from point of the first range

Variants

Bellow

The self is below the other

BellowOverlap

The self is below but overlaping

Within

The self is within the other

Same

The self is same as the other

Over

The self is over the other, the other is within the self

AboveOverlap

The self is above but overlaping

Above

The self is above the other

Methods

impl IntersectionExt[src]

pub fn intersection(&self) -> Intersection[src]

Get simpler intersection

pub fn is_any(&self) -> bool[src]

Test if there is any intersection

Trait Implementations

impl PartialEq<IntersectionExt> for IntersectionExt[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Debug for IntersectionExt[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]