pub trait PerformanceMethods {
Show 15 methods // Required methods fn Now(&self) -> Finite<f64>; fn TimeOrigin(&self) -> Finite<f64>; fn GetEntries(&self) -> Vec<Root<Dom<PerformanceEntry>>>; fn GetEntriesByType( &self, type_: DOMString, ) -> Vec<Root<Dom<PerformanceEntry>>>; fn GetEntriesByName( &self, name: DOMString, type_: Option<DOMString>, ) -> Vec<Root<Dom<PerformanceEntry>>>; fn Mark(&self, markName: DOMString, _can_gc: CanGc) -> Result<(), Error>; fn ClearMarks(&self, markName: Option<DOMString>); fn Measure( &self, measureName: DOMString, startMark: Option<DOMString>, endMark: Option<DOMString>, _can_gc: CanGc, ) -> Result<(), Error>; fn ClearMeasures(&self, measureName: Option<DOMString>); fn ClearResourceTimings(&self); fn SetResourceTimingBufferSize(&self, maxSize: u32); fn GetOnresourcetimingbufferfull(&self) -> Option<Rc<EventHandlerNonNull>>; fn SetOnresourcetimingbufferfull( &self, value: Option<Rc<EventHandlerNonNull>>, ); fn Timing(&self) -> Root<Dom<PerformanceNavigationTiming>>; fn Navigation(&self) -> Root<Dom<PerformanceNavigation>>;
}

Required Methods§

Implementors§