[][src]Struct web_sys::PerformanceMark

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

The PerformanceMark object

MDN Documentation

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

Methods from Deref<Target = PerformanceEntry>

pub fn to_json(&self) -> Object[src]

The toJSON() method

MDN Documentation

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

pub fn name(&self) -> String[src]

The name getter

MDN Documentation

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

pub fn entry_type(&self) -> String[src]

The entryType getter

MDN Documentation

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

pub fn start_time(&self) -> f64[src]

The startTime getter

MDN Documentation

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

pub fn duration(&self) -> f64[src]

The duration getter

MDN Documentation

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

Trait Implementations

impl AsRef<JsValue> for PerformanceMark[src]

impl AsRef<PerformanceMark> for PerformanceMark[src]

impl AsRef<PerformanceEntry> for PerformanceMark[src]

impl AsRef<Object> for PerformanceMark[src]

impl From<JsValue> for PerformanceMark[src]

impl From<PerformanceMark> for JsValue[src]

impl From<PerformanceMark> for PerformanceEntry[src]

impl From<PerformanceMark> for Object[src]

impl Clone for PerformanceMark[src]

impl Eq for PerformanceMark[src]

impl PartialEq<PerformanceMark> for PerformanceMark[src]

impl Debug for PerformanceMark[src]

impl Deref for PerformanceMark[src]

type Target = PerformanceEntry

The resulting type after dereferencing.

impl StructuralPartialEq for PerformanceMark[src]

impl StructuralEq for PerformanceMark[src]

impl JsCast for PerformanceMark[src]

impl RefFromWasmAbi for PerformanceMark[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PerformanceMark>

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

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

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

impl WasmDescribe for PerformanceMark[src]

impl OptionFromWasmAbi for PerformanceMark[src]

impl OptionIntoWasmAbi for PerformanceMark[src]

impl<'a> OptionIntoWasmAbi for &'a PerformanceMark[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