[][src]Struct web_sys::PerformanceEntry

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

The PerformanceEntry object

MDN Documentation

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

Methods

impl PerformanceEntry[src]

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

The toJSON() method

MDN Documentation

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

impl PerformanceEntry[src]

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

The name getter

MDN Documentation

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

impl PerformanceEntry[src]

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

The entryType getter

MDN Documentation

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

impl PerformanceEntry[src]

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

The startTime getter

MDN Documentation

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

impl PerformanceEntry[src]

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

impl AsRef<PerformanceEntry> for PerformanceEntry[src]

impl AsRef<Object> for PerformanceEntry[src]

impl AsRef<PerformanceEntry> for PerformanceMark[src]

impl AsRef<PerformanceEntry> for PerformanceMeasure[src]

impl AsRef<PerformanceEntry> for PerformanceNavigationTiming[src]

impl AsRef<PerformanceEntry> for PerformanceResourceTiming[src]

impl From<JsValue> for PerformanceEntry[src]

impl From<PerformanceEntry> for JsValue[src]

impl From<PerformanceEntry> for Object[src]

impl From<PerformanceMark> for PerformanceEntry[src]

impl From<PerformanceMeasure> for PerformanceEntry[src]

impl From<PerformanceNavigationTiming> for PerformanceEntry[src]

impl From<PerformanceResourceTiming> for PerformanceEntry[src]

impl Clone for PerformanceEntry[src]

impl Eq for PerformanceEntry[src]

impl PartialEq<PerformanceEntry> for PerformanceEntry[src]

impl Debug for PerformanceEntry[src]

impl Deref for PerformanceEntry[src]

type Target = Object

The resulting type after dereferencing.

impl StructuralPartialEq for PerformanceEntry[src]

impl StructuralEq for PerformanceEntry[src]

impl JsCast for PerformanceEntry[src]

impl RefFromWasmAbi for PerformanceEntry[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<PerformanceEntry>

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

impl OptionFromWasmAbi for PerformanceEntry[src]

impl OptionIntoWasmAbi for PerformanceEntry[src]

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