[][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

Implementations

impl KeyframeEffectOptions[src]

pub fn new() -> Self[src]

Construct a new KeyframeEffectOptions.

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

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

Change 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]

Change 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]

Change 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]

Change 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]

Change 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]

Change 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]

Change 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]

Change 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]

Change 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]

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

impl AsRef<Object> for KeyframeEffectOptions[src]

impl Clone for KeyframeEffectOptions[src]

impl Debug for KeyframeEffectOptions[src]

impl Deref for KeyframeEffectOptions[src]

type Target = Object

The resulting type after dereferencing.

impl Eq for KeyframeEffectOptions[src]

impl From<JsValue> for KeyframeEffectOptions[src]

impl From<KeyframeEffectOptions> for JsValue[src]

impl From<KeyframeEffectOptions> for Object[src]

impl FromWasmAbi for KeyframeEffectOptions[src]

type Abi = <JsValue 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 = <JsValue 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 JsValue 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 PartialEq<KeyframeEffectOptions> for KeyframeEffectOptions[src]

impl RefFromWasmAbi for KeyframeEffectOptions[src]

type Abi = <JsValue 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 StructuralEq for KeyframeEffectOptions[src]

impl StructuralPartialEq for KeyframeEffectOptions[src]

impl WasmDescribe for KeyframeEffectOptions[src]

Auto Trait Implementations

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.