Type Definition style::values::specified::length::NonNegativeLength [] [src]

type NonNegativeLength = NonNegative<Length>;

A wrapper of Length, whose value must be >= 0.

Methods

impl NonNegativeLength
[src]

[src]

Returns a zero length.

[src]

Get an absolute length from a px value.

Trait Implementations

impl From<NoCalcLength> for NonNegativeLength
[src]

[src]

Performs the conversion.

impl From<Length> for NonNegativeLength
[src]

[src]

Performs the conversion.