pub enum VectorPathCommand {
CubicBezierCurve(VectorPathCommandCubicBezierCurve),
Line(VectorPathCommandLine),
// some variants omitted
}
Expand description
Represents a vector path command
Variants§
CubicBezierCurve(VectorPathCommandCubicBezierCurve)
A cubic Bézier curve to a given point
Line(VectorPathCommandLine)
A straight line to a given point
Implementations§
Trait Implementations§
Source§impl AsRef<VectorPathCommand> for VectorPathCommand
impl AsRef<VectorPathCommand> for VectorPathCommand
Source§fn as_ref(&self) -> &VectorPathCommand
fn as_ref(&self) -> &VectorPathCommand
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for VectorPathCommand
impl Clone for VectorPathCommand
Source§fn clone(&self) -> VectorPathCommand
fn clone(&self) -> VectorPathCommand
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 Debug for VectorPathCommand
impl Debug for VectorPathCommand
Source§impl Default for VectorPathCommand
impl Default for VectorPathCommand
Source§fn default() -> VectorPathCommand
fn default() -> VectorPathCommand
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorPathCommand
impl<'de> Deserialize<'de> for VectorPathCommand
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
Auto Trait Implementations§
impl Freeze for VectorPathCommand
impl RefUnwindSafe for VectorPathCommand
impl Send for VectorPathCommand
impl Sync for VectorPathCommand
impl Unpin for VectorPathCommand
impl UnwindSafe for VectorPathCommand
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