Skip to main content

AnimationIterationCounts

Type Alias AnimationIterationCounts 

Source
pub type AnimationIterationCounts = Box<[AnimationIterationCount]>;
Expand description

Parsed values for animation-iteration-count.

Aliased Type§

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

Trait Implementations§

Source§

impl<'i> FromCss<'i> for AnimationIterationCounts

Source§

const VALID_TOKENS: &'static [CssToken] = AnimationIterationCount::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.