pub enum VectorPathCommand {
Line(VectorPathCommandLine),
CubicBezierCurve(VectorPathCommandCubicBezierCurve),
}
Variants§
Line(VectorPathCommandLine)
A straight line to a given point
CubicBezierCurve(VectorPathCommandCubicBezierCurve)
A cubic Bézier curve to a given point
Trait Implementations§
Source§impl Clone for VectorPathCommand
impl Clone for VectorPathCommand
Source§fn clone(&self) -> VectorPathCommand
fn clone(&self) -> VectorPathCommand
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 Debug for VectorPathCommand
impl Debug for VectorPathCommand
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
Source§impl PartialEq for VectorPathCommand
impl PartialEq for VectorPathCommand
Source§impl Serialize for VectorPathCommand
impl Serialize for VectorPathCommand
impl StructuralPartialEq for VectorPathCommand
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