pub struct SetTimingParams<'a> { /* private fields */ }Expand description
Sets the timing of an animation node.
Implementations§
Source§impl<'a> SetTimingParams<'a>
impl<'a> SetTimingParams<'a>
Sourcepub fn builder(
animation_id: impl Into<Cow<'a, str>>,
duration: f64,
delay: f64,
) -> SetTimingParamsBuilder<'a>
pub fn builder( animation_id: impl Into<Cow<'a, str>>, duration: f64, delay: f64, ) -> SetTimingParamsBuilder<'a>
Creates a builder for this type with the required parameters:
animation_id: Animation id.duration: Duration of the animation.delay: Delay of the animation.
Sourcepub fn animation_id(&self) -> &str
pub fn animation_id(&self) -> &str
Animation id.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for SetTimingParams<'a>
impl<'a> CdpCommand<'a> for SetTimingParams<'a>
Source§impl<'a> Clone for SetTimingParams<'a>
impl<'a> Clone for SetTimingParams<'a>
Source§fn clone(&self) -> SetTimingParams<'a>
fn clone(&self) -> SetTimingParams<'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 SetTimingParams<'a>
impl<'a> Debug for SetTimingParams<'a>
Source§impl<'a> Default for SetTimingParams<'a>
impl<'a> Default for SetTimingParams<'a>
Source§fn default() -> SetTimingParams<'a>
fn default() -> SetTimingParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for SetTimingParams<'a>
impl<'de, 'a> Deserialize<'de> for SetTimingParams<'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 SetTimingParams<'a>
impl<'a> RefUnwindSafe for SetTimingParams<'a>
impl<'a> Send for SetTimingParams<'a>
impl<'a> Sync for SetTimingParams<'a>
impl<'a> Unpin for SetTimingParams<'a>
impl<'a> UnsafeUnpin for SetTimingParams<'a>
impl<'a> UnwindSafe for SetTimingParams<'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