pub type WordSpacing = Spacing<LengthPercentage>;
Expand description
A specified value for the word-spacing
property.
Aliased Type§
enum WordSpacing {
Normal,
Value(LengthPercentage),
}
Variants§
Trait Implementations§
source§impl Parse for WordSpacing
impl Parse for WordSpacing
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 WordSpacing
impl ToComputedValue for WordSpacing
§type ComputedValue = LengthPercentage
type ComputedValue = LengthPercentage
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