Skip to main content

AnimationNames

Type Alias AnimationNames 

Source
pub type AnimationNames = Box<[AnimationName]>;
Expand description

Parsed values for animation-name.

Aliased Type§

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

Trait Implementations§

Source§

impl<'i> FromCss<'i> for AnimationNames

Source§

const VALID_TOKENS: &'static [CssToken]

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.