Enum oxygengine_composite_renderer::composite_renderer::PathElement [−][src]
pub enum PathElement {
MoveTo(Vec2),
LineTo(Vec2),
BezierCurveTo(Vec2, Vec2, Vec2),
QuadraticCurveTo(Vec2, Vec2),
Arc(Vec2, Scalar, Range<Scalar>),
Ellipse(Vec2, Vec2, Scalar, Range<Scalar>),
Rectangle(Rect),
}Variants
MoveTo(Vec2)LineTo(Vec2)(control point A, control point B, point)
(control point, point)
(point, radius, angles range)
(point, radius, rotation, angles range)
Rectangle(Rect)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 PathElementimpl Send for PathElementimpl Sync for PathElementimpl Unpin for PathElementimpl UnwindSafe for PathElementBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V