# PathStep

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/component_model/struct-pathstep/

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

```rust
struct PathStep
```

One step of a path, type-erased (one member access of upstream's expression chain).

The steps of a path run in order: the first reads from the source of the path, each next one
from the value the step before produced. `get` and `owner` take that value as `&dyn Any`; a
value of another type is a programming error, and they panic.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/component_model/property_path.rs#L85)

## Members

- [`name`](#struct_field-name)
- [`get`](#struct_field-get)
- [`owner`](#struct_field-owner)

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

### name

```rust
name: String
```

The name of the property (`SearchTerm`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/component_model/property_path.rs#L87)

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

### get

```rust
get: std::rc::Rc<dyn Fn(&dyn Any) -> Box<dyn Any>>
```

The value of the step, from the value of the previous one (or the source of the path).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/component_model/property_path.rs#L89)

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

### owner

```rust
owner: std::rc::Rc<dyn Fn(&dyn Any) -> PropertyOwner>
```

The object that owns the property, from the value of the previous step.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/component_model/property_path.rs#L91)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Clone`
- `Debug`

## Availability

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