Enum iron_shapes::path::PathEndType
source · 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 copy 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<'de, T> Deserialize<'de> for PathEndType<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for PathEndType<T>where T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T: Hash> Hash for PathEndType<T>
impl<T: Hash> Hash for PathEndType<T>
source§impl<T: PartialEq> PartialEq<PathEndType<T>> for PathEndType<T>
impl<T: PartialEq> PartialEq<PathEndType<T>> for PathEndType<T>
source§fn eq(&self, other: &PathEndType<T>) -> bool
fn eq(&self, other: &PathEndType<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.