# Node

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-inspect/target/struct-node/

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

```rust
struct Node
```



[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/target.rs#L17)

## Members

- [`id`](#struct_field-id)
- [`parent`](#struct_field-parent)
- [`name`](#struct_field-name)
- [`attributes`](#struct_field-attributes)
- [`children`](#struct_field-children)

<a id="struct_field-id"></a>

### id

```rust
id: crate::NodeId
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/target.rs#L18)

<a id="struct_field-parent"></a>

### parent

```rust
parent: Option<crate::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/target.rs#L19)

<a id="struct_field-name"></a>

### name

```rust
name: String
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/target.rs#L20)

<a id="struct_field-attributes"></a>

### attributes

```rust
attributes: Vec<String>
```

Name and value pairs: `class`, `id` and `Name` (the name of the element), `Text`,
`IsEnabled` and `IsVisible`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/target.rs#L23)

<a id="struct_field-children"></a>

### children

```rust
children: Vec<crate::NodeId>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Inspect/target.rs#L24)

## Trait implementations

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

## Availability

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