Type Alias style::values::specified::text::LetterSpacing

source ·
pub type LetterSpacing = Spacing<Length>;
Expand description

A specified value for the letter-spacing property.

Aliased Type§

enum LetterSpacing {
    Normal,
    Value(Length),
}

Variants§

§

Normal

normal

§

Value(Length)

<value>

Trait Implementations§

source§

impl Parse for LetterSpacing

source§

fn parse<'i, 't>( context: &ParserContext<'_>, input: &mut Parser<'i, 't>, ) -> Result<Self, ParseError<'i>>

Parse a value of this type. Read more
source§

impl ToComputedValue for LetterSpacing

§

type ComputedValue = GenericLetterSpacing<CSSPixelLength>

The computed value type we’re going to be converted to.
source§

fn to_computed_value(&self, context: &Context<'_>) -> Self::ComputedValue

Convert a specified value to a computed value, using itself and the data inside the Context.
source§

fn from_computed_value(computed: &Self::ComputedValue) -> Self

Convert a computed value to specified value form. Read more