# MaterialStatusColor

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-themes-material/enum-materialstatuscolor/

**enum** · [`ferroui-themes-material`](/docs/0.5.0/api/ferroui-themes-material/) · v0.5.0

```rust
enum MaterialStatusColor
```

The status colors the theme adds to the Material roles, which have no success or warning
colors: tonal green and amber, for the severities of InfoBar and InfoBadge.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L171)

## Members

- [`Success`](#variant-success)
- [`OnSuccess`](#variant-onsuccess)
- [`SuccessContainer`](#variant-successcontainer)
- [`OnSuccessContainer`](#variant-onsuccesscontainer)
- [`Warning`](#variant-warning)
- [`OnWarning`](#variant-onwarning)
- [`WarningContainer`](#variant-warningcontainer)
- [`OnWarningContainer`](#variant-onwarningcontainer)
- [`ALL`](#assoc_const-all)
- [`name`](#function-name)

<a id="variant-success"></a>

### Success

```rust
Success
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L172)

<a id="variant-onsuccess"></a>

### OnSuccess

```rust
OnSuccess
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L173)

<a id="variant-successcontainer"></a>

### SuccessContainer

```rust
SuccessContainer
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L174)

<a id="variant-onsuccesscontainer"></a>

### OnSuccessContainer

```rust
OnSuccessContainer
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L175)

<a id="variant-warning"></a>

### Warning

```rust
Warning
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L176)

<a id="variant-onwarning"></a>

### OnWarning

```rust
OnWarning
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L177)

<a id="variant-warningcontainer"></a>

### WarningContainer

```rust
WarningContainer
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L178)

<a id="variant-onwarningcontainer"></a>

### OnWarningContainer

```rust
OnWarningContainer
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L179)

<a id="assoc_const-all"></a>

### ALL

```rust
const ALL: [Self; 8]
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L183)

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

### name

```rust
const fn name(self: Self) -> &'static str
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Material/color_scheme.rs#L193)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`ResourceKeyObject`](/docs/0.5.0/api/ferroui-base/controls/trait-resourcekeyobject/)
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Equivalent<K>`
- `CastableFrom<ST, Uninit, Uninit>`
- `CastableFrom<ST, Initialized, Initialized>`
- `Read<Exclusive, BecauseExclusive>`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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