# CommandValue

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/mixins/trait-commandvalue/

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

```rust
trait CommandValue: Clone + PartialEq + 'static
```

The value of a property that holds a command: a [`ReactiveCommand`](/docs/0.5.0/api/ferroui-reactiveui/reactive_command/struct-reactivecommand/), a
[`CombinedReactiveCommand`](/docs/0.5.0/api/ferroui-reactiveui/reactive_command/struct-combinedreactivecommand/), an `Rc<dyn ICommand>`, or an `Option` of one (a property not
assigned yet).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/mixins/reactive_ui_binding_extensions_bind_command.rs#L25)

## Members

- [`command`](#function-command)

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

### command

```rust
fn command(self: &Self) -> Option<Rc<dyn ICommand>>
```

The command the property holds, if any.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/mixins/reactive_ui_binding_extensions_bind_command.rs#L27)

## Trait implementations

- [`CommandValue`](/docs/0.5.0/api/ferroui-reactiveui/binding/mixins/trait-commandvalue/)

## Availability

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