[][src]Enum flo_curves::bezier::CurveCategory

pub enum CurveCategory {
    Point,
    Linear,
    Arch,
    SingleInflectionPoint,
    DoubleInflectionPoint,
    Parabolic,
    Cusp,
    Loop,
}

Possible types of a two-dimensional cubic bezier curve

Variants

Point

The control points are all at the same position

Linear

The control points are in a line

Arch

A simple curve that does not change direction or self-intersect

SingleInflectionPoint

A curve that changes direction once

DoubleInflectionPoint

A curve that changes direction twice

Parabolic

A curve that can be represented as a quadratic curve rather than a cubic one

Cusp

A curve with a cusp (an abrupt change in direction)

Loop

A curve containing a loop

Trait Implementations

impl Clone for CurveCategory[src]

impl Copy for CurveCategory[src]

impl Debug for CurveCategory[src]

impl PartialEq<CurveCategory> for CurveCategory[src]

impl StructuralPartialEq for CurveCategory[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.