[][src]Struct web_sys::KeyframeEffectOptions

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

The KeyframeEffectOptions dictionary

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

Methods

impl KeyframeEffectOptions[src]

pub fn new() -> KeyframeEffectOptions[src]

Construct a new KeyframeEffectOptions

This API requires the following crate features to be activated: CompositeOperation, FillMode, IterationCompositeOperation, KeyframeEffectOptions, 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: KeyframeEffectOptions

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: KeyframeEffectOptions, 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: KeyframeEffectOptions

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: KeyframeEffectOptions

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: KeyframeEffectOptions

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, KeyframeEffectOptions

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: KeyframeEffectOptions

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: KeyframeEffectOptions

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

Configure the composite field of this object

This API requires the following crate features to be activated: CompositeOperation, KeyframeEffectOptions

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

Configure the iterationComposite field of this object

This API requires the following crate features to be activated: IterationCompositeOperation, KeyframeEffectOptions

Trait Implementations

impl AsRef<JsValue> for KeyframeEffectOptions[src]

impl Clone for KeyframeEffectOptions[src]

impl Debug for KeyframeEffectOptions[src]

impl From<KeyframeEffectOptions> for JsValue[src]

impl FromWasmAbi for KeyframeEffectOptions[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 KeyframeEffectOptions[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 KeyframeEffectOptions[src]

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

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

impl JsCast for KeyframeEffectOptions[src]

impl OptionFromWasmAbi for KeyframeEffectOptions[src]

impl OptionIntoWasmAbi for KeyframeEffectOptions[src]

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

impl RefFromWasmAbi for KeyframeEffectOptions[src]

type Abi = <Object as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<KeyframeEffectOptions>

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 WasmDescribe for KeyframeEffectOptions[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyframeEffectOptions

impl !Send for KeyframeEffectOptions

impl !Sync for KeyframeEffectOptions

impl Unpin for KeyframeEffectOptions

impl UnwindSafe for KeyframeEffectOptions

Blanket Implementations

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

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

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

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

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

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

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi

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.