Enum libreda_db::layout::prelude::EdgeIntersection[][src]

pub enum EdgeIntersection<TP, TO> where
    TP: CoordinateType,
    TO: CoordinateType
{ None, Point(Point<TP>), EndPoint(Point<TO>), Overlap(Edge<TO>), }

Return type for the edge-edge intersection functions. Stores all possible results of a edge to edge intersection.

Variants

None

No intersection.

Point(Point<TP>)

Intersection in a single point but not on an endpoint of an edge.

EndPoint(Point<TO>)

Intersection in an endpoint of an edge.

Overlap(Edge<TO>)

Full or partial overlap.

Trait Implementations

impl<TP, TO> Clone for EdgeIntersection<TP, TO> where
    TP: CoordinateType + Clone,
    TO: CoordinateType + Clone
[src]

impl<TP, TO> Copy for EdgeIntersection<TP, TO> where
    TP: CoordinateType + Copy,
    TO: CoordinateType + Copy
[src]

impl<TP, TO> Debug for EdgeIntersection<TP, TO> where
    TP: CoordinateType + Debug,
    TO: CoordinateType + Debug
[src]

impl<TP, TO> Eq for EdgeIntersection<TP, TO> where
    TP: CoordinateType + Eq,
    TO: CoordinateType + Eq
[src]

impl<TP, TO> PartialEq<EdgeIntersection<TP, TO>> for EdgeIntersection<TP, TO> where
    TP: CoordinateType + PartialEq<TP>,
    TO: CoordinateType + PartialEq<TO>, 
[src]

impl<TP, TO> StructuralEq for EdgeIntersection<TP, TO> where
    TP: CoordinateType,
    TO: CoordinateType
[src]

impl<TP, TO> StructuralPartialEq for EdgeIntersection<TP, TO> where
    TP: CoordinateType,
    TO: CoordinateType
[src]

Auto Trait Implementations

impl<TP, TO> RefUnwindSafe for EdgeIntersection<TP, TO> where
    TO: RefUnwindSafe,
    TP: RefUnwindSafe

impl<TP, TO> Send for EdgeIntersection<TP, TO> where
    TO: Send,
    TP: Send

impl<TP, TO> Sync for EdgeIntersection<TP, TO> where
    TO: Sync,
    TP: Sync

impl<TP, TO> Unpin for EdgeIntersection<TP, TO> where
    TO: Unpin,
    TP: Unpin

impl<TP, TO> UnwindSafe for EdgeIntersection<TP, TO> where
    TO: UnwindSafe,
    TP: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.