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

Trait Implementations

Derived Implementations

impl PartialOrd for Curve

fn partial_cmp(&self, __arg_0: &Curve) -> Option<Ordering>

fn lt(&self, __arg_0: &Curve) -> bool

fn le(&self, __arg_0: &Curve) -> bool

fn gt(&self, __arg_0: &Curve) -> bool

fn ge(&self, __arg_0: &Curve) -> bool

impl PartialEq for Curve

fn eq(&self, __arg_0: &Curve) -> bool

fn ne(&self, __arg_0: &Curve) -> bool

impl Debug for Curve

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

impl Clone for Curve

fn clone(&self) -> Curve

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

impl Copy for Curve