[][src]Struct web_sys::OptionalEffectTiming

#[repr(transparent)]
pub struct OptionalEffectTiming { /* fields omitted */ }

The OptionalEffectTiming dictionary

This API requires the following crate features to be activated: OptionalEffectTiming

Methods

impl OptionalEffectTiming[src]

pub fn new() -> OptionalEffectTiming[src]

Construct a new OptionalEffectTiming

This API requires the following crate features to be activated: FillMode, OptionalEffectTiming, PlaybackDirection

pub fn delay(&mut self, val: f64) -> &mut Self[src]

Configure the delay field of this object

This API requires the following crate features to be activated: OptionalEffectTiming

pub fn direction(&mut self, val: PlaybackDirection) -> &mut Self[src]

Configure the direction field of this object

This API requires the following crate features to be activated: OptionalEffectTiming, PlaybackDirection

pub fn duration(&mut self, val: &JsValue) -> &mut Self[src]

Configure the duration field of this object

This API requires the following crate features to be activated: OptionalEffectTiming

pub fn easing(&mut self, val: &str) -> &mut Self[src]

Configure the easing field of this object

This API requires the following crate features to be activated: OptionalEffectTiming

pub fn end_delay(&mut self, val: f64) -> &mut Self[src]

Configure the endDelay field of this object

This API requires the following crate features to be activated: OptionalEffectTiming

pub fn fill(&mut self, val: FillMode) -> &mut Self[src]

Configure the fill field of this object

This API requires the following crate features to be activated: FillMode, OptionalEffectTiming

pub fn iteration_start(&mut self, val: f64) -> &mut Self[src]

Configure the iterationStart field of this object

This API requires the following crate features to be activated: OptionalEffectTiming

pub fn iterations(&mut self, val: f64) -> &mut Self[src]

Configure the iterations field of this object

This API requires the following crate features to be activated: OptionalEffectTiming

Trait Implementations

impl AsRef<JsValue> for OptionalEffectTiming[src]

impl From<OptionalEffectTiming> for JsValue[src]

impl Clone for OptionalEffectTiming[src]

impl Debug for OptionalEffectTiming[src]

impl JsCast for OptionalEffectTiming[src]

impl RefFromWasmAbi for OptionalEffectTiming[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<OptionalEffectTiming>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl FromWasmAbi for OptionalEffectTiming[src]

type Abi = <Object as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for OptionalEffectTiming[src]

type Abi = <Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a OptionalEffectTiming[src]

type Abi = <&'a Object as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl WasmDescribe for OptionalEffectTiming[src]

impl OptionFromWasmAbi for OptionalEffectTiming[src]

impl OptionIntoWasmAbi for OptionalEffectTiming[src]

impl<'a> OptionIntoWasmAbi for &'a OptionalEffectTiming[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi