[][src]Struct web_sys::PerformanceMeasure

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

The PerformanceMeasure object

MDN Documentation

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

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

impl AsRef<Object> for PerformanceMeasure[src]

impl AsRef<PerformanceEntry> for PerformanceMeasure[src]

impl AsRef<PerformanceMeasure> for PerformanceMeasure[src]

impl Clone for PerformanceMeasure[src]

impl Debug for PerformanceMeasure[src]

impl Deref for PerformanceMeasure[src]

type Target = PerformanceEntry

The resulting type after dereferencing.

impl Eq for PerformanceMeasure[src]

impl From<JsValue> for PerformanceMeasure[src]

impl From<PerformanceMeasure> for JsValue[src]

impl From<PerformanceMeasure> for PerformanceEntry[src]

impl From<PerformanceMeasure> for Object[src]

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

impl OptionFromWasmAbi for PerformanceMeasure[src]

impl OptionIntoWasmAbi for PerformanceMeasure[src]

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

impl PartialEq<PerformanceMeasure> for PerformanceMeasure[src]

impl RefFromWasmAbi for PerformanceMeasure[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PerformanceMeasure>

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

impl StructuralPartialEq for PerformanceMeasure[src]

impl WasmDescribe for PerformanceMeasure[src]

Auto Trait Implementations

impl RefUnwindSafe for PerformanceMeasure

impl !Send for PerformanceMeasure

impl !Sync for PerformanceMeasure

impl Unpin for PerformanceMeasure

impl UnwindSafe for PerformanceMeasure

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.