[][src]Struct flo_curves::bezier::Curve

pub struct Curve<Coord: Coordinate> {
    pub start_point: Coord,
    pub end_point: Coord,
    pub control_points: (Coord, Coord),
}

Represents a Bezier curve

Fields

start_point: Coordend_point: Coordcontrol_points: (Coord, Coord)

Trait Implementations

impl<Coord: Coordinate> BezierCurve for Curve<Coord>[src]

impl<Coord: Coordinate> BezierCurveFactory for Curve<Coord>[src]

impl<Coord: Clone + Coordinate> Clone for Curve<Coord>[src]

impl<Coord: Copy + Coordinate> Copy for Curve<Coord>[src]

impl<Coord: Debug + Coordinate> Debug for Curve<Coord>[src]

impl<Coord: Coordinate> Geo for Curve<Coord>[src]

type Point = Coord

The type of a point in this geometry

impl<Coord: PartialEq + Coordinate> PartialEq<Curve<Coord>> for Curve<Coord>[src]

impl<Coord: Coordinate> StructuralPartialEq for Curve<Coord>[src]

Auto Trait Implementations

impl<Coord> RefUnwindSafe for Curve<Coord> where
    Coord: RefUnwindSafe

impl<Coord> Send for Curve<Coord> where
    Coord: Send

impl<Coord> Sync for Curve<Coord> where
    Coord: Sync

impl<Coord> Unpin for Curve<Coord> where
    Coord: Unpin

impl<Coord> UnwindSafe for Curve<Coord> where
    Coord: UnwindSafe

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.