Skip to main content

DevToolsTopLevelExtensions

Trait DevToolsTopLevelExtensions 

Source
pub trait DevToolsTopLevelExtensions {
    // Required method
    fn attach_dev_tools_with_gesture(&self, gesture: KeyGesture);
}
Expand description

The extension method of top levels for attaching DevTools with a key gesture (upstream has it for top levels only).

Required Methods§

Source

fn attach_dev_tools_with_gesture(&self, gesture: KeyGesture)

Attaches DevTools to a window, to be opened with the specified key gesture.

gesture is the key gesture to open DevTools.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl DevToolsTopLevelExtensions for TopLevel

Implementors§