ferroui-diagnostics 0.4.0

The developer tools of FerroUI: the logical and visual trees, the properties and their value sources, routed events, the layout explorer and screenshots of a running application
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Port of `Diagnostics/DevToolsViewKind.cs`.

/// Kinds of diagnostic views available in DevTools
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
#[repr(i32)]
pub enum DevToolsViewKind {
    /// The Logical Tree diagnostic view
    LogicalTree = 0,
    /// The Visual Tree diagnostic view
    VisualTree = 1,
    /// Events diagnostic view
    Events = 2,
    /// The combined tree: the logical tree with the parts of the templates, greyed out.
    ///
    /// Deviation (DEVIATIONS.md, Developer tools): an addition of the port, and the default view.
    #[default]
    CombinedTree = 3,
}