# EventTreeNodeKind

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/enum-eventtreenodekind/

**enum** · [`ferroui-diagnostics`](/docs/0.5.0/api/ferroui-diagnostics/) · v0.5.0

```rust
enum EventTreeNodeKind
```

What the deriving class of a node adds to it: the owner of a group of
routed events ([`EventOwnerTreeNode`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/struct-eventownertreenode/)) or one routed event
([`EventTreeNode`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/struct-eventtreenode/)).

Upstream the node is an abstract class with these two deriving classes,
whose `IsEnabled` overrides the virtual property of the base. In the port
a node is one shared type, [`EventTreeNodeBase`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/struct-eventtreenodebase/), that carries the part of
its deriving class: the tree of the events page holds one model type
(its cell template is typed with the base class), and the type tests of
the original (`node is EventTreeNode eventNode`) are the hooks
`EventTreeNodeBase::as_event_tree_node` and
`EventTreeNodeBase::as_event_owner_tree_node`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/event_tree_node_base.rs#L22)

## Members

- [`Owner`](#variant-owner)
- [`Event`](#variant-event)

<a id="variant-owner"></a>

### Owner

```rust
Owner(super::EventOwnerTreeNode)
```

A node of an `EventOwnerTreeNode`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/event_tree_node_base.rs#L24)

<a id="variant-event"></a>

### Event

```rust
Event(super::EventTreeNode)
```

A node of an `EventTreeNode`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Diagnostics/diagnostics/view_models/event_tree_node_base.rs#L26)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
