pub struct SeekAnimationsParams {
pub animations: Vec<String>,
pub current_time: f64,
}Expand description
Seek a set of animations to a particular time within each animation. seekAnimations
Fields§
§animations: Vec<String>List of animation ids to seek.
current_time: f64Set the current time of each animation.
Implementations§
source§impl SeekAnimationsParams
impl SeekAnimationsParams
pub fn builder() -> SeekAnimationsParamsBuilder
source§impl SeekAnimationsParams
impl SeekAnimationsParams
pub const IDENTIFIER: &'static str = "Animation.seekAnimations"
Trait Implementations§
source§impl Clone for SeekAnimationsParams
impl Clone for SeekAnimationsParams
source§fn clone(&self) -> SeekAnimationsParams
fn clone(&self) -> SeekAnimationsParams
Returns a copy 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 SeekAnimationsParams
impl Command for SeekAnimationsParams
§type Response = SeekAnimationsReturns
type Response = SeekAnimationsReturns
The type of the response this request triggers on the chromium server
source§impl Debug for SeekAnimationsParams
impl Debug for SeekAnimationsParams
source§impl<'de> Deserialize<'de> for SeekAnimationsParams
impl<'de> Deserialize<'de> for SeekAnimationsParams
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 Method for SeekAnimationsParams
impl Method for SeekAnimationsParams
source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl MethodType for SeekAnimationsParams
impl MethodType for SeekAnimationsParams
source§impl PartialEq<SeekAnimationsParams> for SeekAnimationsParams
impl PartialEq<SeekAnimationsParams> for SeekAnimationsParams
source§fn eq(&self, other: &SeekAnimationsParams) -> bool
fn eq(&self, other: &SeekAnimationsParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.