Enum css_style::unit::Length [−][src]
pub enum Length {
}
Variants
Em(Em)
Tuple Fields
0: Em
Ex(Ex)
Tuple Fields
0: Ex
Cap(Cap)
Tuple Fields
0: Cap
Ch(Ch)
Tuple Fields
0: Ch
Ic(Ic)
Tuple Fields
0: Ic
Rem(Rem)
Tuple Fields
0: Rem
Rlh(Rlh)
Tuple Fields
0: Rlh
Vm(Vm)
Tuple Fields
0: Vm
Vh(Vh)
Tuple Fields
0: Vh
Vi(Vi)
Tuple Fields
0: Vi
Vb(Vb)
Tuple Fields
0: Vb
Vmin(Vmin)
Tuple Fields
0: Vmin
Vmax(Vmax)
Tuple Fields
0: Vmax
Cm(Cm)
Tuple Fields
0: Cm
Mm(Mm)
Tuple Fields
0: Mm
Q(Q)
Tuple Fields
0: Q
In(In)
Tuple Fields
0: In
Pc(Pc)
Tuple Fields
0: Pc
Pt(Pt)
Tuple Fields
0: Pt
Px(Px)
Tuple Fields
0: Px
Calc(Box<Calc<Self>>)
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Length
impl UnwindSafe for Length
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: FloatComponent,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined
range, otherwise an OutOfBounds
error is returned which contains
the unclamped color. Read more