pub struct SetKeyframeKeyCommand { /* private fields */ }Available on crate features
experimental and CSS and DOM and Page only.Expand description
Modifies the keyframe rule key text.
Implementations§
Source§impl SetKeyframeKeyCommand
impl SetKeyframeKeyCommand
pub fn new( style_sheet_id: StyleSheetId, range: SourceRange, key_text: String, ) -> Self
pub fn style_sheet_id(&self) -> &StyleSheetId
pub fn range(&self) -> &SourceRange
pub fn key_text(&self) -> &str
Trait Implementations§
Source§impl Clone for SetKeyframeKeyCommand
impl Clone for SetKeyframeKeyCommand
Source§fn clone(&self) -> SetKeyframeKeyCommand
fn clone(&self) -> SetKeyframeKeyCommand
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 Command for SetKeyframeKeyCommand
impl Command for SetKeyframeKeyCommand
Source§impl Debug for SetKeyframeKeyCommand
impl Debug for SetKeyframeKeyCommand
Source§impl<'de> Deserialize<'de> for SetKeyframeKeyCommand
impl<'de> Deserialize<'de> for SetKeyframeKeyCommand
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 SetKeyframeKeyCommand
impl RefUnwindSafe for SetKeyframeKeyCommand
impl Send for SetKeyframeKeyCommand
impl Sync for SetKeyframeKeyCommand
impl Unpin for SetKeyframeKeyCommand
impl UnwindSafe for SetKeyframeKeyCommand
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