[][src]Enum footile::PathOp

pub enum PathOp {
    Close(),
    Move(Pt),
    Line(Pt),
    Quad(PtPt),
    Cubic(PtPtPt),
    PenWidth(f32),
}

Path operation.

Variants

Close()

Close the path

Move(Pt)

Move to a point

Line(Pt)

Straight line to end point

Quad(PtPt)

Quadratic bézier curve (control point and end point)

Cubic(PtPtPt)

Cubic bézier curve (two control points and end point)

PenWidth(f32)

Set pen width (for stroking)

Trait Implementations

impl Clone for PathOp[src]

impl Copy for PathOp[src]

impl Debug for PathOp[src]

impl PartialEq<PathOp> for PathOp[src]

impl StructuralPartialEq for PathOp[src]

Auto Trait Implementations

impl RefUnwindSafe for PathOp

impl Send for PathOp

impl Sync for PathOp

impl Unpin for PathOp

impl UnwindSafe for PathOp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.