Struct style::stylesheets::keyframes_rule::Keyframe [] [src]

pub struct Keyframe {
    pub selector: KeyframeSelector,
    pub block: Arc<Locked<PropertyDeclarationBlock>>,
    pub source_location: SourceLocation,
}

A keyframe.

Fields

The selector this keyframe was specified from.

The declaration block that was declared inside this keyframe.

Note that !important rules in keyframes don't apply, but we keep this Arc just for convenience.

The line and column of the rule's source code.

Methods

impl Keyframe
[src]

[src]

Parse a CSS keyframe.

Trait Implementations

impl Debug for Keyframe
[src]

[src]

Formats the value using the given formatter. Read more

impl ToCssWithGuard for Keyframe
[src]

[src]

Serialize self in CSS syntax, writing to dest, using the given lock guard.

[src]

Serialize self in CSS syntax using the given lock guard and return a string. Read more

impl DeepCloneWithLock for Keyframe
[src]

[src]

Deep clones this Keyframe.