[][src]Struct web_sys::DocumentTimeline

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

The DocumentTimeline object

MDN Documentation

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

Methods

impl DocumentTimeline[src]

pub fn new() -> Result<DocumentTimeline, JsValue>[src]

The new DocumentTimeline(..) constructor, creating a new instance of DocumentTimeline

MDN Documentation

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

impl DocumentTimeline[src]

pub fn new_with_options(
    options: &DocumentTimelineOptions
) -> Result<DocumentTimeline, JsValue>
[src]

The new DocumentTimeline(..) constructor, creating a new instance of DocumentTimeline

MDN Documentation

This API requires the following crate features to be activated: DocumentTimeline, DocumentTimelineOptions

Methods from Deref<Target = AnimationTimeline>

pub fn current_time(&self) -> Option<f64>[src]

The currentTime getter

MDN Documentation

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

Trait Implementations

impl AsRef<AnimationTimeline> for DocumentTimeline[src]

impl AsRef<DocumentTimeline> for DocumentTimeline[src]

impl AsRef<JsValue> for DocumentTimeline[src]

impl AsRef<Object> for DocumentTimeline[src]

impl Clone for DocumentTimeline[src]

impl Debug for DocumentTimeline[src]

impl Deref for DocumentTimeline[src]

type Target = AnimationTimeline

The resulting type after dereferencing.

impl Eq for DocumentTimeline[src]

impl From<DocumentTimeline> for JsValue[src]

impl From<DocumentTimeline> for AnimationTimeline[src]

impl From<DocumentTimeline> for Object[src]

impl From<JsValue> for DocumentTimeline[src]

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

impl OptionFromWasmAbi for DocumentTimeline[src]

impl OptionIntoWasmAbi for DocumentTimeline[src]

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

impl PartialEq<DocumentTimeline> for DocumentTimeline[src]

impl RefFromWasmAbi for DocumentTimeline[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<DocumentTimeline>

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

impl StructuralPartialEq for DocumentTimeline[src]

impl WasmDescribe for DocumentTimeline[src]

Auto Trait Implementations

impl RefUnwindSafe for DocumentTimeline

impl !Send for DocumentTimeline

impl !Sync for DocumentTimeline

impl Unpin for DocumentTimeline

impl UnwindSafe for DocumentTimeline

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.