Enum rusttype::Segment [] [src]

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

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

Variants

Line(Line)Curve(Curve)

Trait Implementations

impl Debug for Segment
[src]

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

Formats the value using the given formatter.

impl Clone for Segment
[src]

fn clone(&self) -> Segment

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 Segment
[src]