Enum libreda_pnr::db::PathEndType[]

pub enum PathEndType<T> where
    T: CoordinateType
{ Flat, Extended(T, T), Round, }

Encoding for the type of the beginning and end of the path.

Variants

Flat

Beginning and end of path are not extended.

Extended(T, T)

Define the extension length at the beginning and at the end of the path.

Round

Path ends are round (approximately semi-circles).

Trait Implementations

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

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

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

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

impl<T> Hash for PathEndType<T> where
    T: CoordinateType + Hash

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

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

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

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for PathEndType<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> TextType for T where
    T: Clone + Eq + Debug + Hash

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.