Skip to main content

ferroui_diagnostics/diagnostics/
dev_tools_view_kind.rs

1//! Port of `Diagnostics/DevToolsViewKind.cs`.
2
3/// Kinds of diagnostic views available in DevTools
4#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, Hash)]
5#[repr(i32)]
6pub enum DevToolsViewKind {
7    /// The Logical Tree diagnostic view
8    LogicalTree = 0,
9    /// The Visual Tree diagnostic view
10    VisualTree = 1,
11    /// Events diagnostic view
12    Events = 2,
13    /// The combined tree: the logical tree with the parts of the templates, greyed out.
14    ///
15    /// Deviation (DEVIATIONS.md, Developer tools): an addition of the port, and the default view.
16    #[default]
17    CombinedTree = 3,
18}