Struct svgparser::Length [] [src]

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

Representation of the <length> type.

Fields

Methods

impl Length
[src]

[src]

Constructs a new length.

Trait Implementations

impl Clone for Length
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Length
[src]

impl Debug for Length
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Length
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Length

impl Sync for Length