pub type LetterSpacing = Spacing<Length>;
Expand description
A specified value for the letter-spacing
property.
Aliased Type§
enum LetterSpacing {
Normal,
Value(Length),
}
Variants§
Trait Implementations§
source§impl Parse for LetterSpacing
impl Parse for LetterSpacing
source§fn parse<'i, 't>(
context: &ParserContext<'_>,
input: &mut Parser<'i, 't>,
) -> Result<Self, ParseError<'i>>
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
impl ToComputedValue for LetterSpacing
§type ComputedValue = GenericLetterSpacing<CSSPixelLength>
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
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
fn from_computed_value(computed: &Self::ComputedValue) -> Self
Convert a computed value to specified value form. Read more