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§
Trait Implementations§
Source§impl ToAnimatedValue for TextDecorationInset
impl ToAnimatedValue for TextDecorationInset
Source§type AnimatedValue = TextDecorationInset
type AnimatedValue = TextDecorationInset
The type of the animated value.
Source§fn to_animated_value(self, context: &AnimatedContext<'_>) -> Self::AnimatedValue
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
fn from_animated_value(value: Self::AnimatedValue) -> Self
Converts back an animated value into a computed value.