[][src]Enum khalas::css::text::LineHeight

pub enum LineHeight {
    Normal(Normal),
    Number(f32),
    Em(Em),
    Ex(Ex),
    Cap(Cap),
    Ch(Ch),
    Ic(Ic),
    Rem(Rem),
    Rlh(Rlh),
    Vm(Vm),
    Vh(Vh),
    Vi(Vi),
    Vb(Vb),
    Vmin(Vmin),
    Vmax(Vmax),
    Cm(Cm),
    Mm(Mm),
    Q(Q),
    In(In),
    Pc(Pc),
    Pt(Pt),
    Px(Px),
    Percent(Percent),
    Initial(Initial),
    Inherit(Inherit),
}

Variants

Normal(Normal)
Number(f32)
Em(Em)
Ex(Ex)
Cap(Cap)
Ch(Ch)
Ic(Ic)
Rem(Rem)
Rlh(Rlh)
Vm(Vm)
Vh(Vh)
Vi(Vi)
Vb(Vb)
Vmin(Vmin)
Vmax(Vmax)
Cm(Cm)
Mm(Mm)
Q(Q)
In(In)
Pc(Pc)
Pt(Pt)
Px(Px)
Percent(Percent)
Initial(Initial)
Inherit(Inherit)

Trait Implementations

impl Clone for LineHeight[src]

impl Copy for LineHeight[src]

impl Debug for LineHeight[src]

impl Display for LineHeight[src]

impl From<Cap> for LineHeight[src]

impl From<Ch> for LineHeight[src]

impl From<Cm> for LineHeight[src]

impl From<Em> for LineHeight[src]

impl From<Ex> for LineHeight[src]

impl From<Ic> for LineHeight[src]

impl From<In> for LineHeight[src]

impl From<Inherit> for LineHeight[src]

impl From<Initial> for LineHeight[src]

impl From<Mm> for LineHeight[src]

impl From<Normal> for LineHeight[src]

impl From<Pc> for LineHeight[src]

impl From<Percent> for LineHeight[src]

impl From<Pt> for LineHeight[src]

impl From<Px> for LineHeight[src]

impl From<Q> for LineHeight[src]

impl From<Rem> for LineHeight[src]

impl From<Rlh> for LineHeight[src]

impl From<Vb> for LineHeight[src]

impl From<Vh> for LineHeight[src]

impl From<Vi> for LineHeight[src]

impl From<Vm> for LineHeight[src]

impl From<Vmax> for LineHeight[src]

impl From<Vmin> for LineHeight[src]

impl From<f32> for LineHeight[src]

impl PartialEq<LineHeight> for LineHeight[src]

impl StructuralPartialEq for LineHeight[src]

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.