Skip to main content

TextDecorationInset

Type Alias TextDecorationInset 

Source
pub type TextDecorationInset = GenericTextDecorationInset<LengthPercentage>;
Expand description

Implements type for text-decoration-inset property.

Aliased Type§

#[repr(C, u8)]
pub enum TextDecorationInset { Auto, LengthPercentage { start: LengthPercentage, end: LengthPercentage, }, }

Variants§

§

Auto

auto value

§

LengthPercentage

Start and end length values.

Trait Implementations§

Source§

impl ToAnimatedValue for TextDecorationInset

Source§

type AnimatedValue = TextDecorationInset

The type of the animated value.
Source§

fn to_animated_value(self, context: &AnimatedContext<'_>) -> Self::AnimatedValue

Converts this value to an animated value.
Source§

fn from_animated_value(value: Self::AnimatedValue) -> Self

Converts back an animated value into a computed value.