Type Alias rsvg::length::ULength

source ·
pub type ULength<N> = CssLength<N, Unsigned>;
Expand description

Alias for CssLength types that are non negative

Aliased Type§

struct ULength<N> {
    pub length: f64,
    pub unit: LengthUnit,
    orientation: PhantomData<N>,
    validation: PhantomData<Unsigned>,
}

Fields§

§length: f64

Numeric part of the length

§unit: LengthUnit

Unit part of the length

§orientation: PhantomData<N>

Dummy; used internally for the type parameter N

§validation: PhantomData<Unsigned>

Dummy; used internally for the type parameter V