pub struct CssKeyframesRule { /* private fields */ }Available on crate features
experimental and CSS and DOM and Page only.Expand description
CSS keyframes rule representation.
Implementations§
Source§impl CssKeyframesRule
impl CssKeyframesRule
pub fn new(animation_name: Value, keyframes: Vec<CssKeyframeRule>) -> Self
Sourcepub fn animation_name(&self) -> &Value
pub fn animation_name(&self) -> &Value
Animation name.
Sourcepub fn keyframes(&self) -> &[CssKeyframeRule]
pub fn keyframes(&self) -> &[CssKeyframeRule]
List of keyframes.
Trait Implementations§
Source§impl Clone for CssKeyframesRule
impl Clone for CssKeyframesRule
Source§fn clone(&self) -> CssKeyframesRule
fn clone(&self) -> CssKeyframesRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CssKeyframesRule
impl Debug for CssKeyframesRule
Source§impl<'de> Deserialize<'de> for CssKeyframesRule
impl<'de> Deserialize<'de> for CssKeyframesRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CssKeyframesRule
impl RefUnwindSafe for CssKeyframesRule
impl Send for CssKeyframesRule
impl Sync for CssKeyframesRule
impl Unpin for CssKeyframesRule
impl UnwindSafe for CssKeyframesRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more