Struct rusttype::Curve [] [src]

pub struct Curve {
    pub p: [Point<f32>; 3],
}

A quadratic Bezier curve, starting at p[0], ending at p[2], with control point p[1].

Fields

p: [Point<f32>; 3]

Trait Implementations

impl Debug for Curve
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Curve
[src]

fn clone(&self) -> Curve

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Curve
[src]