Enum mozjs::jsapi::JS::ProfilingCategory
source · #[repr(u32)]pub enum ProfilingCategory {
Show 22 variants
IDLE = 0,
OTHER = 1,
TEST = 2,
LAYOUT = 3,
JS = 4,
GCCC = 5,
NETWORK = 6,
GRAPHICS = 7,
DOM = 8,
JAVA_ANDROID = 9,
JAVA_ANDROIDX = 10,
JAVA_LANGUAGE = 11,
JAVA_MOZILLA = 12,
JAVA_KOTLIN = 13,
JAVA_BLOCKED = 14,
IPC = 15,
MEDIA = 16,
A11Y = 17,
PROFILER = 18,
TIMER = 19,
REMOTE_PROTOCOL = 20,
COUNT = 21,
}
Variants§
IDLE = 0
OTHER = 1
TEST = 2
LAYOUT = 3
JS = 4
GCCC = 5
NETWORK = 6
GRAPHICS = 7
DOM = 8
JAVA_ANDROID = 9
JAVA_ANDROIDX = 10
JAVA_LANGUAGE = 11
JAVA_MOZILLA = 12
JAVA_KOTLIN = 13
JAVA_BLOCKED = 14
IPC = 15
MEDIA = 16
A11Y = 17
PROFILER = 18
TIMER = 19
REMOTE_PROTOCOL = 20
COUNT = 21
Implementations§
source§impl ProfilingCategory
impl ProfilingCategory
pub const LAST: ProfilingCategory = ProfilingCategory::REMOTE_PROTOCOL
Trait Implementations§
source§impl Clone for ProfilingCategory
impl Clone for ProfilingCategory
source§fn clone(&self) -> ProfilingCategory
fn clone(&self) -> ProfilingCategory
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 ProfilingCategory
impl Debug for ProfilingCategory
source§impl Hash for ProfilingCategory
impl Hash for ProfilingCategory
source§impl PartialEq for ProfilingCategory
impl PartialEq for ProfilingCategory
impl Copy for ProfilingCategory
impl Eq for ProfilingCategory
impl StructuralPartialEq for ProfilingCategory
Auto Trait Implementations§
impl Freeze for ProfilingCategory
impl RefUnwindSafe for ProfilingCategory
impl Send for ProfilingCategory
impl Sync for ProfilingCategory
impl Unpin for ProfilingCategory
impl UnwindSafe for ProfilingCategory
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<T> Filterable for T
impl<T> Filterable for T
source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(_: DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
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 more