pub type AnimationDuration = GenericAnimationDuration<Time>;
Expand description
A specified value for the animation-duration
property.
Aliased Type§
enum AnimationDuration {
Auto,
Time(Time),
}
Variants§
Auto
The initial value. However, we serialize this as 0s if the preference is disabled.
Time(Time)
The time value, <time [0s,∞]>.
Trait Implementations§
source§impl Parse for AnimationDuration
impl Parse for AnimationDuration
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