Struct lyon::svg::parser::Length
[−]
[src]
pub struct Length { pub num: f64, pub unit: LengthUnit, }
Representation of the <length>
type.
Fields
num: f64
unit: LengthUnit
Methods
impl Length
fn new(num: f64, unit: LengthUnit) -> Length
Constructs a new length.