Skip to main content

AnimationTimingFunctions

Type Alias AnimationTimingFunctions 

Source
pub type AnimationTimingFunctions = Box<[AnimationTimingFunction]>;
Expand description

Parsed values for animation-timing-function.

Aliased Type§

pub struct AnimationTimingFunctions(/* private fields */);

Trait Implementations§

Source§

impl<'i> FromCss<'i> for AnimationTimingFunctions

Source§

const VALID_TOKENS: &'static [CssToken] = AnimationTimingFunction::VALID_TOKENS

Returns the list of valid CSS tokens for this type.
Source§

fn from_css(input: &mut Parser<'i, '_>) -> ParseResult<'i, Self>

Parses the type from a Parser instance.
Source§

fn from_str(source: &'i str) -> ParseResult<'i, Self>
where Self: Sized,

Helper function to parse the type from a string.
Source§

const EXPECT_MESSAGE: CssExpectedMessage = CssExpectedMessage::OneValue

Message template used when building parse errors for this type.