pub struct SeekAnimationsParams<'a> { /* private fields */ }Expand description
Seek a set of animations to a particular time within each animation.
Implementations§
Source§impl<'a> SeekAnimationsParams<'a>
impl<'a> SeekAnimationsParams<'a>
pub fn builder( animations: Vec<Cow<'a, str>>, currentTime: f64, ) -> SeekAnimationsParamsBuilder<'a>
pub fn animations(&self) -> &[Cow<'a, str>]
pub fn currentTime(&self) -> f64
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SeekAnimationsParams<'a>
impl<'a> CdpCommand<'a> for SeekAnimationsParams<'a>
Source§impl<'a> Clone for SeekAnimationsParams<'a>
impl<'a> Clone for SeekAnimationsParams<'a>
Source§fn clone(&self) -> SeekAnimationsParams<'a>
fn clone(&self) -> SeekAnimationsParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SeekAnimationsParams<'a>
impl<'a> Debug for SeekAnimationsParams<'a>
Source§impl<'a> Default for SeekAnimationsParams<'a>
impl<'a> Default for SeekAnimationsParams<'a>
Source§fn default() -> SeekAnimationsParams<'a>
fn default() -> SeekAnimationsParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SeekAnimationsParams<'a>
impl<'de, 'a> Deserialize<'de> for SeekAnimationsParams<'a>
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<'a> Freeze for SeekAnimationsParams<'a>
impl<'a> RefUnwindSafe for SeekAnimationsParams<'a>
impl<'a> Send for SeekAnimationsParams<'a>
impl<'a> Sync for SeekAnimationsParams<'a>
impl<'a> Unpin for SeekAnimationsParams<'a>
impl<'a> UnsafeUnpin for SeekAnimationsParams<'a>
impl<'a> UnwindSafe for SeekAnimationsParams<'a>
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