Skip to main content

DevToolsVisualExtensions

Trait DevToolsVisualExtensions 

Source
pub trait DevToolsVisualExtensions {
    // Required method
    fn does_belong_to_dev_tool(&self) -> bool;
}
Expand description

The extension method of DevTools on visuals.

Required Methods§

Source

fn does_belong_to_dev_tool(&self) -> bool

Whether the visual is in a DevTools window, or in a popup of one (DevTools::does_belong_to_dev_tool).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl DevToolsVisualExtensions for Visual

Implementors§