pub struct SetPlaybackRate {
pub method: SetPlaybackRateMethod,
pub params: SetPlaybackRateParams,
}Expand description
Sets the playback rate of the document timeline. setPlaybackRate
Fields§
§method: SetPlaybackRateMethod§params: SetPlaybackRateParamsImplementations§
Source§impl SetPlaybackRate
impl SetPlaybackRate
pub fn builder() -> SetPlaybackRateBuilder
Source§impl SetPlaybackRate
impl SetPlaybackRate
pub const IDENTIFIER: &'static str = "Animation.setPlaybackRate"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetPlaybackRate
impl Clone for SetPlaybackRate
Source§fn clone(&self) -> SetPlaybackRate
fn clone(&self) -> SetPlaybackRate
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 CommandResult for SetPlaybackRate
impl CommandResult for SetPlaybackRate
type Result = SetPlaybackRateResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetPlaybackRate
impl Debug for SetPlaybackRate
Source§impl<'de> Deserialize<'de> for SetPlaybackRate
impl<'de> Deserialize<'de> for SetPlaybackRate
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
Source§impl From<SetPlaybackRate> for AnimationCommands
impl From<SetPlaybackRate> for AnimationCommands
Source§fn from(v: SetPlaybackRate) -> Self
fn from(v: SetPlaybackRate) -> Self
Converts to this type from the input type.
Source§impl From<SetPlaybackRate> for BrowserProtocolCommands
impl From<SetPlaybackRate> for BrowserProtocolCommands
Source§fn from(v: SetPlaybackRate) -> Self
fn from(v: SetPlaybackRate) -> Self
Converts to this type from the input type.
Source§impl From<SetPlaybackRate> for Command
impl From<SetPlaybackRate> for Command
Source§fn from(v: SetPlaybackRate) -> Self
fn from(v: SetPlaybackRate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetPlaybackRate
impl PartialEq for SetPlaybackRate
Source§impl Serialize for SetPlaybackRate
impl Serialize for SetPlaybackRate
Source§impl TryFrom<AnimationCommands> for SetPlaybackRate
impl TryFrom<AnimationCommands> for SetPlaybackRate
Source§type Error = AnimationCommands
type Error = AnimationCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: AnimationCommands,
) -> Result<Self, <SetPlaybackRate as TryFrom<AnimationCommands>>::Error>
fn try_from( e: AnimationCommands, ) -> Result<Self, <SetPlaybackRate as TryFrom<AnimationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetPlaybackRate
impl TryFrom<BrowserProtocolCommands> for SetPlaybackRate
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <SetPlaybackRate as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetPlaybackRate as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetPlaybackRate
impl TryFrom<Command> for SetPlaybackRate
impl StructuralPartialEq for SetPlaybackRate
Auto Trait Implementations§
impl Freeze for SetPlaybackRate
impl RefUnwindSafe for SetPlaybackRate
impl Send for SetPlaybackRate
impl Sync for SetPlaybackRate
impl Unpin for SetPlaybackRate
impl UnsafeUnpin for SetPlaybackRate
impl UnwindSafe for SetPlaybackRate
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