Enum profile_traits::time::ProfilerCategory
source · #[repr(u32)]pub enum ProfilerCategory {
Show 47 variants
Compositing = 0,
LayoutPerform = 16,
LayoutStyleRecalc = 17,
LayoutTextShaping = 18,
LayoutRestyleDamagePropagation = 19,
LayoutGeneratedContent = 24,
LayoutFloatPlacementSpeculation = 26,
LayoutMain = 27,
LayoutStoreOverflow = 28,
LayoutParallelWarmup = 29,
LayoutDispListBuild = 30,
ImageSaving = 81,
ScriptAttachLayout = 96,
ScriptConstellationMsg = 97,
ScriptDevtoolsMsg = 98,
ScriptDocumentEvent = 99,
ScriptDomEvent = 100,
ScriptEvaluate = 101,
ScriptEvent = 102,
ScriptFileRead = 103,
ScriptImageCacheMsg = 104,
ScriptInputEvent = 105,
ScriptNetworkEvent = 106,
ScriptParseHTML = 107,
ScriptPlannedNavigation = 108,
ScriptResize = 109,
ScriptSetScrollState = 110,
ScriptSetViewport = 111,
ScriptTimerEvent = 112,
ScriptStylesheetLoad = 113,
ScriptUpdateReplacedElement = 114,
ScriptWebSocketEvent = 115,
ScriptWorkerEvent = 116,
ScriptServiceWorkerEvent = 117,
ScriptParseXML = 118,
ScriptEnterFullscreen = 119,
ScriptExitFullscreen = 120,
ScriptWorkletEvent = 122,
ScriptPerformanceEvent = 123,
ScriptHistoryEvent = 124,
ScriptPortMessage = 125,
ScriptWebGPUMsg = 126,
TimeToFirstPaint = 128,
TimeToFirstContentfulPaint = 129,
TimeToInteractive = 130,
IpcReceiver = 131,
IpcBytesReceiver = 132,
}
Variants§
Compositing = 0
LayoutPerform = 16
LayoutStyleRecalc = 17
Events currently only used by Layout 2013.
LayoutTextShaping = 18
LayoutRestyleDamagePropagation = 19
LayoutGeneratedContent = 24
LayoutFloatPlacementSpeculation = 26
LayoutMain = 27
LayoutStoreOverflow = 28
LayoutParallelWarmup = 29
LayoutDispListBuild = 30
ImageSaving = 81
ScriptAttachLayout = 96
ScriptConstellationMsg = 97
ScriptDevtoolsMsg = 98
ScriptDocumentEvent = 99
ScriptDomEvent = 100
ScriptEvaluate = 101
Rust tracing only: the script thread is executing a script. This may include time doing layout or parse work initiated by the script.
ScriptEvent = 102
ScriptFileRead = 103
ScriptImageCacheMsg = 104
ScriptInputEvent = 105
ScriptNetworkEvent = 106
ScriptParseHTML = 107
The script thread is parsing HTML, rather than doing other work like evaluating scripts or doing layout.
ScriptResize = 109
ScriptSetScrollState = 110
ScriptSetViewport = 111
ScriptTimerEvent = 112
ScriptStylesheetLoad = 113
ScriptUpdateReplacedElement = 114
ScriptWebSocketEvent = 115
ScriptWorkerEvent = 116
ScriptServiceWorkerEvent = 117
ScriptParseXML = 118
The script thread is parsing XML, rather than doing other work like evaluating scripts or doing layout.
ScriptEnterFullscreen = 119
ScriptExitFullscreen = 120
ScriptWorkletEvent = 122
ScriptPerformanceEvent = 123
ScriptHistoryEvent = 124
ScriptPortMessage = 125
ScriptWebGPUMsg = 126
TimeToFirstPaint = 128
Web performance metrics.
TimeToFirstContentfulPaint = 129
TimeToInteractive = 130
IpcReceiver = 131
IpcBytesReceiver = 132
Implementations§
source§impl ProfilerCategory
impl ProfilerCategory
pub const fn variant_name(&self) -> &'static str
Trait Implementations§
source§impl Clone for ProfilerCategory
impl Clone for ProfilerCategory
source§fn clone(&self) -> ProfilerCategory
fn clone(&self) -> ProfilerCategory
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ProfilerCategory
impl Debug for ProfilerCategory
source§impl<'de> Deserialize<'de> for ProfilerCategory
impl<'de> Deserialize<'de> for ProfilerCategory
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for ProfilerCategory
impl Hash for ProfilerCategory
source§impl Ord for ProfilerCategory
impl Ord for ProfilerCategory
source§fn cmp(&self, other: &ProfilerCategory) -> Ordering
fn cmp(&self, other: &ProfilerCategory) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ProfilerCategory
impl PartialEq for ProfilerCategory
source§fn eq(&self, other: &ProfilerCategory) -> bool
fn eq(&self, other: &ProfilerCategory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ProfilerCategory
impl PartialOrd for ProfilerCategory
source§fn partial_cmp(&self, other: &ProfilerCategory) -> Option<Ordering>
fn partial_cmp(&self, other: &ProfilerCategory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for ProfilerCategory
impl Serialize for ProfilerCategory
impl Copy for ProfilerCategory
impl Eq for ProfilerCategory
impl StructuralPartialEq for ProfilerCategory
Auto Trait Implementations§
impl Freeze for ProfilerCategory
impl RefUnwindSafe for ProfilerCategory
impl Send for ProfilerCategory
impl Sync for ProfilerCategory
impl Unpin for ProfilerCategory
impl UnwindSafe for ProfilerCategory
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.