pub struct SetTiming {
pub method: SetTimingMethod,
pub params: SetTimingParams,
}Expand description
Sets the timing of an animation node. setTiming
Fields§
§method: SetTimingMethod§params: SetTimingParamsImplementations§
Source§impl SetTiming
impl SetTiming
pub const IDENTIFIER: &'static str = "Animation.setTiming"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for SetTiming
impl CommandResult for SetTiming
type Result = SetTimingResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for SetTiming
impl<'de> Deserialize<'de> for SetTiming
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<SetTiming> for AnimationCommands
impl From<SetTiming> for AnimationCommands
Source§impl From<SetTiming> for BrowserProtocolCommands
impl From<SetTiming> for BrowserProtocolCommands
Source§impl TryFrom<AnimationCommands> for SetTiming
impl TryFrom<AnimationCommands> for SetTiming
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, <SetTiming as TryFrom<AnimationCommands>>::Error>
fn try_from( e: AnimationCommands, ) -> Result<Self, <SetTiming as TryFrom<AnimationCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetTiming
impl TryFrom<BrowserProtocolCommands> for SetTiming
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, <SetTiming as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetTiming as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetTiming
Auto Trait Implementations§
impl Freeze for SetTiming
impl RefUnwindSafe for SetTiming
impl Send for SetTiming
impl Sync for SetTiming
impl Unpin for SetTiming
impl UnsafeUnpin for SetTiming
impl UnwindSafe for SetTiming
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