Enum webrender_api::DebugCommand
source · pub enum DebugCommand {
Show 13 variants
SetFlags(DebugFlags),
EnableDualSourceBlending(bool),
FetchDocuments,
FetchPasses,
FetchClipScrollTree,
FetchRenderTasks,
FetchScreenshot,
SaveCapture(PathBuf, CaptureBits),
LoadCapture(PathBuf, MsgSender<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(PathBuf, CaptureBits)
Save a capture of all the documents state.
LoadCapture(PathBuf, MsgSender<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
sourceimpl Clone for DebugCommand
impl Clone for DebugCommand
sourcefn clone(&self) -> DebugCommand
fn clone(&self) -> DebugCommand
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for DebugCommand
impl<'de> Deserialize<'de> for DebugCommand
sourcefn 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
sourceimpl Serialize for DebugCommand
impl Serialize for DebugCommand
Auto Trait Implementations
impl RefUnwindSafe for DebugCommand
impl Send for DebugCommand
impl !Sync for DebugCommand
impl Unpin for DebugCommand
impl UnwindSafe for DebugCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more