[][src]Enum kludgine::shape::PathEvent

pub enum PathEvent<S> {
    Begin {
        at: Endpoint<S>,
    },
    Line {
        from: Endpoint<S>,
        to: Endpoint<S>,
    },
    Quadratic {
        from: Endpoint<S>,
        ctrl: ControlPoint<S>,
        to: Endpoint<S>,
    },
    Cubic {
        from: Endpoint<S>,
        ctrl1: ControlPoint<S>,
        ctrl2: ControlPoint<S>,
        to: Endpoint<S>,
    },
    End {
        last: Endpoint<S>,
        first: Endpoint<S>,
        close: bool,
    },
}

Variants

Begin

Fields of Begin

at: Endpoint<S>
Line

Fields of Line

from: Endpoint<S>to: Endpoint<S>
Quadratic

Fields of Quadratic

from: Endpoint<S>ctrl: ControlPoint<S>to: Endpoint<S>
Cubic

Fields of Cubic

from: Endpoint<S>ctrl1: ControlPoint<S>ctrl2: ControlPoint<S>to: Endpoint<S>
End

Fields of End

last: Endpoint<S>first: Endpoint<S>close: bool

Trait Implementations

impl<S: Clone> Clone for PathEvent<S>[src]

impl<S: Copy> Copy for PathEvent<S>[src]

impl<S: Debug> Debug for PathEvent<S>[src]

impl Into<Event<Point2D<f32, UnknownUnit>, Point2D<f32, UnknownUnit>>> for PathEvent<Raw>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for PathEvent<S> where
    S: RefUnwindSafe

impl<S> Send for PathEvent<S> where
    S: Send

impl<S> Sync for PathEvent<S> where
    S: Sync

impl<S> Unpin for PathEvent<S> where
    S: Unpin

impl<S> UnwindSafe for PathEvent<S> where
    S: UnwindSafe

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

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, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

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

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

impl<T> SetParameter for T

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.