Enum font::Segment [] [src]

pub enum Segment {
    Linear(Offset),
    Quadratic(OffsetOffset),
    Cubic(OffsetOffsetOffset),
}

A segment.

Variants

A line.

A quadratic Bézier curve.

A cubic Bézier curve.

Trait Implementations

impl Clone for Segment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Segment
[src]

impl Debug for Segment
[src]

Formats the value using the given formatter.

impl PartialEq for Segment
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.