Enum libreda_pnr::db::REdgeIntersection[]

pub enum REdgeIntersection<T> where
    T: CoordinateType
{ None, Point(Point<T>), EndPoint(Point<T>), Overlap(REdge<T>), }

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

Variants

None

No intersection.

Point(Point<T>)

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

EndPoint(Point<T>)

Intersection in an endpoint of an edge.

Overlap(REdge<T>)

Full or partial overlap.

Trait Implementations

impl<T> Clone for REdgeIntersection<T> where
    T: CoordinateType + Clone

impl<T> Copy for REdgeIntersection<T> where
    T: CoordinateType + Copy

impl<T> Debug for REdgeIntersection<T> where
    T: CoordinateType + Debug

impl<T> Eq for REdgeIntersection<T> where
    T: CoordinateType + Eq

impl<T> PartialEq<REdgeIntersection<T>> for REdgeIntersection<T> where
    T: CoordinateType + PartialEq<T>, 

impl<T> StructuralEq for REdgeIntersection<T> where
    T: CoordinateType

impl<T> StructuralPartialEq for REdgeIntersection<T> where
    T: CoordinateType

Auto Trait Implementations

impl<T> RefUnwindSafe for REdgeIntersection<T> where
    T: RefUnwindSafe

impl<T> Send for REdgeIntersection<T> where
    T: Send

impl<T> Sync for REdgeIntersection<T> where
    T: Sync

impl<T> Unpin for REdgeIntersection<T> where
    T: Unpin

impl<T> UnwindSafe for REdgeIntersection<T> where
    T: 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.