pub enum DebugCommand {
Show 13 variants SetFlags(DebugFlags), EnableDualSourceBlending(bool), FetchDocuments, FetchPasses, FetchClipScrollTree, FetchRenderTasks, FetchScreenshot, SaveCapture(PathBufCaptureBits), LoadCapture(PathBufMsgSender<CapturedDocument>), ClearCaches(ClearCache), InvalidateGpuCache, SimulateLongSceneBuild(u32), SimulateLongLowPrioritySceneBuild(u32),
}

Variants

SetFlags(DebugFlags)

Sets the provided debug flags.

EnableDualSourceBlending(bool)

Configure if dual-source blending is used, if available.

FetchDocuments

Fetch current documents and display lists.

FetchPasses

Fetch current passes and batches.

FetchClipScrollTree

Fetch clip-scroll tree.

FetchRenderTasks

Fetch render tasks.

FetchScreenshot

Fetch screenshot.

SaveCapture(PathBufCaptureBits)

Save a capture of all the documents state.

LoadCapture(PathBufMsgSender<CapturedDocument>)

Load a capture of all the documents state.

ClearCaches(ClearCache)

Clear cached resources, forcing them to be re-uploaded from templates.

InvalidateGpuCache

Invalidate GPU cache, forcing the update from the CPU mirror.

SimulateLongSceneBuild(u32)

Causes the scene builder to pause for a given amount of miliseconds each time it processes a transaction.

SimulateLongLowPrioritySceneBuild(u32)

Causes the low priority scene builder to pause for a given amount of miliseconds each time it processes a transaction.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.