Enum rin::graphics::path::Command[][src]

pub enum Command<Point> where
    Point: NumPnt + Copy,
    <Point as NumPnt>::Field: Copy
{ Move { to: Point, }, Line { to: Point, }, Bezier { cp1: Point, cp2: Point, to: Point, }, QuadBezier { cp1: Point, to: Point, }, CatmullRom { to: Point, }, Arc { center: Point, init_angle: Deg<<Point as NumPnt>::Field>, angle: Deg<<Point as NumPnt>::Field>, w: <Point as NumPnt>::Field, h: <Point as NumPnt>::Field, }, Close, }

Variants

Move
Show fields

Fields of Move

to: Point
Line
Show fields

Fields of Line

to: Point
Bezier
Show fields

Fields of Bezier

cp1: Pointcp2: Pointto: Point
QuadBezier
Show fields

Fields of QuadBezier

cp1: Pointto: Point
CatmullRom
Show fields

Fields of CatmullRom

to: Point
Arc
Show fields

Fields of Arc

center: Pointinit_angle: Deg<<Point as NumPnt>::Field>angle: Deg<<Point as NumPnt>::Field>w: <Point as NumPnt>::Fieldh: <Point as NumPnt>::Field
Close

Trait Implementations

impl<Point> Clone for Command<Point> where
    Point: Clone + NumPnt + Copy,
    <Point as NumPnt>::Field: Copy
[src]

impl<Point> FromIterator<Command<Point>> for Path2D<Point> where
    Point: FloatPnt + Copy,
    <Point as NumPnt>::Field: RealField,
    <Point as NumPnt>::Field: Copy,
    <Point as NumPnt>::Coordinates: Neg,
    <<Point as NumPnt>::Coordinates as Neg>::Output == <Point as NumPnt>::Coordinates
[src]

impl<Point> Copy for Command<Point> where
    Point: Copy + NumPnt,
    <Point as NumPnt>::Field: Copy
[src]

Auto Trait Implementations

impl<Point> RefUnwindSafe for Command<Point> where
    Point: RefUnwindSafe,
    <Point as NumPnt>::Field: RefUnwindSafe

impl<Point> Send for Command<Point> where
    Point: Send,
    <Point as NumPnt>::Field: Send

impl<Point> Sync for Command<Point> where
    Point: Sync,
    <Point as NumPnt>::Field: Sync

impl<Point> Unpin for Command<Point> where
    Point: Unpin,
    <Point as NumPnt>::Field: Unpin

impl<Point> UnwindSafe for Command<Point> where
    Point: UnwindSafe,
    <Point as NumPnt>::Field: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

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

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

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> Slottable for T where
    T: Copy
[src]