pub enum GeometryPathCommand {
Move {
x: f64,
y: f64,
},
Line {
x: f64,
y: f64,
},
Quad {
cpx: f64,
cpy: f64,
x: f64,
y: f64,
},
Cubic {
cp1x: f64,
cp1y: f64,
cp2x: f64,
cp2y: f64,
x: f64,
y: f64,
},
Close,
}Variants§
Trait Implementations§
Source§impl Clone for GeometryPathCommand
impl Clone for GeometryPathCommand
Source§impl Debug for GeometryPathCommand
impl Debug for GeometryPathCommand
Source§impl<'de> Deserialize<'de> for GeometryPathCommand
impl<'de> Deserialize<'de> for GeometryPathCommand
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 GeometryPathCommand
impl PartialEq for GeometryPathCommand
Source§impl Serialize for GeometryPathCommand
impl Serialize for GeometryPathCommand
impl StructuralPartialEq for GeometryPathCommand
Auto Trait Implementations§
impl Freeze for GeometryPathCommand
impl RefUnwindSafe for GeometryPathCommand
impl Send for GeometryPathCommand
impl Sync for GeometryPathCommand
impl Unpin for GeometryPathCommand
impl UnsafeUnpin for GeometryPathCommand
impl UnwindSafe for GeometryPathCommand
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