Enum rusttype::Segment [] [src]

pub enum Segment {
    Line(Line),
    Curve(Curve),
}

Part of a Contour, either a Line or a Curve.

Variants

Line
Curve

Trait Implementations

Derived Implementations

impl Debug for Segment

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

impl Clone for Segment

fn clone(&self) -> Segment

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

impl Copy for Segment