Enum ux::PathNodeType [−][src]
#[non_exhaustive] pub enum PathNodeType { MoveTo, LineTo, CurveTo, Close, RelMoveTo, RelLineTo, RelCurveTo, // some variants omitted }
Types of nodes in a Path
.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
jump to the given position
create a line from the last node to the given position
bezier curve using the last position and three control points.
create a line from the last node to the last
PathNodeType::MoveTo
node.
same as PathNodeType::MoveTo
but with
coordinates relative to the last node.
same as PathNodeType::LineTo
but with
coordinates relative to the last node.
same as PathNodeType::CurveTo
but with
coordinates relative to the last node.
Trait Implementations
impl Clone for PathNodeType
[src]
impl Clone for PathNodeType
[src]pub fn clone(&self) -> PathNodeType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PathNodeType
[src]
impl Copy for PathNodeType
[src]impl Display for PathNodeType
[src]
impl Display for PathNodeType
[src]impl Eq for PathNodeType
[src]
impl Eq for PathNodeType
[src]impl<'a> FromValue<'a> for PathNodeType
[src]
impl<'a> FromValue<'a> for PathNodeType
[src]pub unsafe fn from_value(value: &Value) -> PathNodeType
[src]
impl<'a> FromValueOptional<'a> for PathNodeType
[src]
impl<'a> FromValueOptional<'a> for PathNodeType
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<PathNodeType>
[src]
impl Hash for PathNodeType
[src]
impl Hash for PathNodeType
[src]impl Ord for PathNodeType
[src]
impl Ord for PathNodeType
[src]impl PartialEq<PathNodeType> for PathNodeType
[src]
impl PartialEq<PathNodeType> for PathNodeType
[src]pub fn eq(&self, other: &PathNodeType) -> bool
[src]
pub fn ne(&self, other: &PathNodeType) -> bool
[src]
impl PartialOrd<PathNodeType> for PathNodeType
[src]
impl PartialOrd<PathNodeType> for PathNodeType
[src]pub fn partial_cmp(&self, other: &PathNodeType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl SetValue for PathNodeType
[src]
impl SetValue for PathNodeType
[src]pub unsafe fn set_value(value: &mut Value, this: &PathNodeType)
[src]
impl StaticType for PathNodeType
[src]
impl StaticType for PathNodeType
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for PathNodeType
[src]
impl StructuralEq for PathNodeType
[src]impl StructuralPartialEq for PathNodeType
[src]
impl StructuralPartialEq for PathNodeType
[src]Auto Trait Implementations
impl RefUnwindSafe for PathNodeType
impl RefUnwindSafe for PathNodeType
impl Send for PathNodeType
impl Send for PathNodeType
impl Sync for PathNodeType
impl Sync for PathNodeType
impl Unpin for PathNodeType
impl Unpin for PathNodeType
impl UnwindSafe for PathNodeType
impl UnwindSafe for PathNodeType
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,