Struct lyon::svg::parser::Length [] [src]

pub struct Length {
    pub num: f64,
    pub unit: LengthUnit,
}

Representation of the <length> type.

Fields

Methods

impl Length

Constructs a new length.

Trait Implementations

impl Copy for Length

impl PartialEq<Length> for Length

impl Debug for Length

impl Clone for Length