#[repr(i32)]pub enum Step {
Unspecified = 0,
SendInputEventUi = 3,
HandleInputEventImpl = 5,
DidHandleInputAndOverscroll = 8,
HandleInputEventMain = 4,
MainThreadScrollUpdate = 2,
HandleInputEventMainCommit = 1,
HandledInputEventMainOrImpl = 9,
HandledInputEventImpl = 10,
SwapBuffers = 6,
DrawAndSwap = 7,
FinishedSwapBuffers = 11,
}
Expand description
NEXT ID: 12 All step are optional but the enum is ordered (not by number) below in the order we expect them to appear if they are emitted in trace in a blocking fashion.
Variants§
Unspecified = 0
SendInputEventUi = 3
Emitted on the browser main thread.
HandleInputEventImpl = 5
Happens on the renderer’s compositor.
DidHandleInputAndOverscroll = 8
HandleInputEventMain = 4
Occurs on the Renderer’s main thread.
MainThreadScrollUpdate = 2
HandleInputEventMainCommit = 1
HandledInputEventMainOrImpl = 9
Could be emitted on both the renderer’s main OR compositor.
HandledInputEventImpl = 10
Optionally sometimes HANDLED_INPUT_EVENT_MAIN_OR_IMPL will proxy to the renderer’s compositor and this will be emitted.
SwapBuffers = 6
Renderer’s compositor.
DrawAndSwap = 7
Happens on the VizCompositor in the GPU process.
FinishedSwapBuffers = 11
Happens on the GPU main thread after the swap has completed.
See above for NEXT ID, enum steps are not ordered by tag number.
Implementations§
Trait Implementations§
Source§impl Ord for Step
impl Ord for Step
Source§impl PartialOrd for Step
impl PartialOrd for Step
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
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