# target

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

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

```rust
module target
```

One top level (a window or a popup) as the target of the Chrome DevTools Protocol endpoint
(`ferroui-devtools`). A target is a view of the shared [`Inspector`](/docs/0.5.0/api/ferroui-inspect/struct-inspector/): the node IDs, selectors,
properties, styles, layout boxes, screenshots and highlights are the inspector's; the target
keeps its root, the tree it shows (visual or logical), which nodes are in that tree, and its
highlight. Every operation checks that the node is in the current tree, so a control that has
been detached cannot be driven through its ID until it is attached again. UI thread only.

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

## Contents

- [`InspectResult`](/docs/0.5.0/api/ferroui-inspect/target/type_alias-inspectresult/) — type alias
- [`Node`](/docs/0.5.0/api/ferroui-inspect/target/struct-node/) — struct
- [`Property`](/docs/0.5.0/api/ferroui-inspect/target/struct-property/) — struct
- [`MatchedStyle`](/docs/0.5.0/api/ferroui-inspect/target/struct-matchedstyle/) — struct
- [`BoxModel`](/docs/0.5.0/api/ferroui-inspect/target/struct-boxmodel/) — struct
- [`Target`](/docs/0.5.0/api/ferroui-inspect/target/struct-target/) — struct

## Availability

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