Enum nom_hpgl::Vector [] [src]

pub enum Vector {
    ArcAbsolute {
        center: Point,
        sweep_angle: f32,
        chord_angle: Option<f32>,
    },
    ArcRelative {
        increments: Point,
        sweep_angle: f32,
        chord_angle: Option<f32>,
    },
    AbsoluteArcThreePoint {
        intermediate: Point,
        end: Point,
        chord_angle: Option<f32>,
    },
    Circle {
        radius: f32,
        chord_angle: Option<f32>,
    },
    PlotAbsolute(Vec<Point>),
    PenDown(Vec<Point>),
    PolylineEncoded(Vec<Point>),
    PlotRelative(Vec<Point>),
    PenUp(Vec<Point>),
    RelativeArcThreePoint {
        intermediate: Point,
        end: Point,
        chord_angle: Option<f32>,
    },
}

Variants

Fields of ArcAbsolute

Fields of ArcRelative

Fields of AbsoluteArcThreePoint

Fields of Circle

Fields of RelativeArcThreePoint

Trait Implementations

impl Debug for Vector
[src]

[src]

Formats the value using the given formatter.

impl Clone for Vector
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Vector
[src]

[src]

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

[src]

This method tests for !=.