# TopLevelGroupHostLogical

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/struct-toplevelgrouphostlogical/

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

```rust
struct TopLevelGroupHostLogical
```

`LogicalTreeNode.TopLevelGroupHostLogical`: the nodes of the top levels
of a group, except the window of the developer tools.

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

## Members

- [`new`](#function-new)
- [`new_with`](#function-new_with)

<a id="function-new"></a>

### new

```rust
fn new(owner: Weak<TreeNode>, host: Ref<TopLevelGroup>) -> Rc<TreeNodeCollection>
```



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

<a id="function-new_with"></a>

### new_with

```rust
fn new_with(owner: Weak<TreeNode>, host: Ref<TopLevelGroup>, factory: fn(Ref<FerroObject>, Option<&Rc<TreeNode>>) -> Rc<TreeNode>) -> Rc<TreeNodeCollection>
```

The nodes of the top levels of a group, each made by `factory`.

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

## 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`
- [`TreeNodeCollectionImpl`](/docs/0.5.0/api/ferroui-diagnostics/diagnostics/view_models/trait-treenodecollectionimpl/)

## Availability

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