pub struct CssKeyframeRule { /* private fields */ }Available on crate features
experimental and CSS and DOM and Page only.Expand description
CSS keyframe rule representation.
Implementations§
Source§impl CssKeyframeRule
impl CssKeyframeRule
pub fn builder() -> CssKeyframeRuleBuilder
Sourcepub fn style_sheet_id(&self) -> Option<&StyleSheetId>
pub fn style_sheet_id(&self) -> Option<&StyleSheetId>
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
Sourcepub fn origin(&self) -> &StyleSheetOrigin
pub fn origin(&self) -> &StyleSheetOrigin
Parent stylesheet’s origin.
Trait Implementations§
Source§impl Clone for CssKeyframeRule
impl Clone for CssKeyframeRule
Source§fn clone(&self) -> CssKeyframeRule
fn clone(&self) -> CssKeyframeRule
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 CssKeyframeRule
impl Debug for CssKeyframeRule
Source§impl<'de> Deserialize<'de> for CssKeyframeRule
impl<'de> Deserialize<'de> for CssKeyframeRule
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 CssKeyframeRule
impl RefUnwindSafe for CssKeyframeRule
impl Send for CssKeyframeRule
impl Sync for CssKeyframeRule
impl Unpin for CssKeyframeRule
impl UnwindSafe for CssKeyframeRule
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