Enum flo_canvas::PathOp [−][src]
pub enum PathOp {
NewPath,
Move(f32, f32),
Line(f32, f32),
BezierCurve(((f32, f32), (f32, f32)), (f32, f32)),
ClosePath,
}Expand description
Operations that define paths
Variants
Begins a new path
Move to a new point
Line to point
Bezier curve to point
Closes the current subpath
Trait Implementations
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 RefUnwindSafe for PathOp
impl UnwindSafe for PathOp
Blanket Implementations
Mutably borrows from an owned value. Read more