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,
}
Expand description
Usage sites of variants marked “Rust tracing only” are not visible to rust-analyzer.
Variants§
Compositing = 0
The compositor is rasterising or presenting.
Not associated with a specific URL.
LayoutPerform = 16
The script thread is doing layout work.
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§impl PartialOrd for ProfilerCategory
impl PartialOrd for ProfilerCategory
source§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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T>> for T
impl<T> MaybeBoxed<Box<T>> for T
source§fn maybe_boxed(self) -> Box<T>
fn maybe_boxed(self) -> Box<T>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert