Enum rusttype::Segment [] [src]

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

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

Variants

Trait Implementations

impl Copy for Segment
[src]

impl Clone for Segment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Segment
[src]

Formats the value using the given formatter.