DevTools
struct · ferroui-diagnostics · v0.5.0
struct DevTools
Attaches DevTools and opens its window.
Members
attach_with_gesture
fn attach_with_gesture(root: &TopLevel, gesture: KeyGesture) -> Rc<dyn IDisposable>
C# Attach(TopLevel root, KeyGesture gesture): DevTools opens on gesture in root.
attach
fn attach(root: &TopLevel, options: Rc<DevToolsOptions>) -> Rc<dyn IDisposable>
C# Attach(TopLevel root, DevToolsOptions options): DevTools opens on the gesture of
options in root. Disposing the result detaches it.
open
fn open(root: &TopLevel, options: &Rc<DevToolsOptions>) -> Rc<dyn IDisposable>
C# Open(TopLevel root, DevToolsOptions options): opens DevTools for root. Disposing
the result closes its window.
open_group
fn open_group(group: Rc<dyn IDevToolsTopLevelGroup>, options: &Rc<DevToolsOptions>) -> Rc<dyn IDisposable>
C# Open(IDevToolsTopLevelGroup group, DevToolsOptions options).
attach_application
fn attach_application(application: &ferroui_controls::Application, options: Rc<DevToolsOptions>) -> Rc<dyn IDisposable>
C# Attach(Application application, DevToolsOptions options): DevTools opens on the
gesture of options in any window of application. Disposing the result detaches it and
closes the window it opened.
Panics
When the application does not have a classic desktop lifetime.
does_belong_to_dev_tool
fn does_belong_to_dev_tool(v: &Visual) -> bool
C# DoesBelongToDevTool(this Visual v): whether v is in a DevTools window, or in a
popup of one. A visual that is in no top level belongs to DevTools, as upstream.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyClassDefaultsErasedDestructorIntoEither
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.