pub enum PathEndType<T> {
Flat,
Extended(T, T),
Round,
}Expand description
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§
Source§impl<T: Clone> Clone for PathEndType<T>
impl<T: Clone> Clone for PathEndType<T>
Source§fn clone(&self) -> PathEndType<T>
fn clone(&self) -> PathEndType<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for PathEndType<T>
impl<T: Debug> Debug for PathEndType<T>
Source§impl<T: Hash> Hash for PathEndType<T>
impl<T: Hash> Hash for PathEndType<T>
Source§impl<T: PartialEq> PartialEq for PathEndType<T>
impl<T: PartialEq> PartialEq for PathEndType<T>
impl<T: Copy> Copy for PathEndType<T>
impl<T: Eq> Eq for PathEndType<T>
impl<T> StructuralPartialEq for PathEndType<T>
Auto Trait Implementations§
impl<T> Freeze for PathEndType<T>where
T: Freeze,
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more