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
ArcAbsolute
Fields of ArcAbsolute
center: Point | |
sweep_angle: f32 | |
chord_angle: Option<f32> |
ArcRelative
Fields of ArcRelative
increments: Point | |
sweep_angle: f32 | |
chord_angle: Option<f32> |
AbsoluteArcThreePoint
Fields of AbsoluteArcThreePoint
intermediate: Point | |
end: Point | |
chord_angle: Option<f32> |
Circle
Fields of Circle
radius: f32 | |
chord_angle: Option<f32> |
PlotAbsolute(Vec<Point>)
PenDown(Vec<Point>)
PolylineEncoded(Vec<Point>)
PlotRelative(Vec<Point>)
PenUp(Vec<Point>)
RelativeArcThreePoint
Fields of RelativeArcThreePoint
intermediate: Point | |
end: Point | |
chord_angle: Option<f32> |
Trait Implementations
impl Debug for Vector
[src]
impl Clone for Vector
[src]
fn clone(&self) -> Vector
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more