Enum sixtyfps_corelib::graphics::PathEvent[][src]

#[repr(C)]
pub enum PathEvent {
    Begin,
    Line,
    Quadratic,
    Cubic,
    EndOpen,
    EndClosed,
}

PathEvent is a low-level data structure describing the composition of a path. Typically it is generated at compile time from a higher-level description, such as SVG commands.

Variants

Begin

The beginning of the path.

Line

A straight line on the path.

Quadratic

A quadratic bezier curve on the path.

Cubic

A cubic bezier curve on the path.

EndOpen

The end of the path that remains open.

EndClosed

The end of a path that is closed.

Trait Implementations

impl Clone for PathEvent[src]

impl Debug for PathEvent[src]

impl PartialEq<PathEvent> for PathEvent[src]

impl StructuralPartialEq for PathEvent[src]

Auto Trait Implementations

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.