Enum rtdlib::types::VectorPathCommand
source · [−]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
pub fn on_cubic_bezier_curve<F: FnOnce(&VectorPathCommandCubicBezierCurve)>(
&self,
fnc: F
) -> &Self
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<VectorPathCommand, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<VectorPathCommand, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for VectorPathCommand
impl Send for VectorPathCommand
impl Sync for VectorPathCommand
impl Unpin for VectorPathCommand
impl UnwindSafe for VectorPathCommand
Blanket Implementations
Mutably borrows from an owned value. Read more