# CompositionEffectFactoryLoadStatus

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/rendering/composition/effects/enum-compositioneffectfactoryloadstatus/

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

```rust
enum CompositionEffectFactoryLoadStatus
```

Whether an effect factory loaded its effect (WinUI
`Microsoft.UI.Composition.CompositionEffectFactoryLoadStatus`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/effects/composition_effect_factory.rs#L17)

## Members

- [`Success`](#variant-success)
- [`EffectTooComplex`](#variant-effecttoocomplex)
- [`Pending`](#variant-pending)
- [`Other`](#variant-other)

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

### Success

```rust
Success = 0
```

The effect was loaded; its brushes draw it.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/effects/composition_effect_factory.rs#L20)

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

### EffectTooComplex

```rust
EffectTooComplex = 1
```

The graph has too many effects or is nested too deeply.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/effects/composition_effect_factory.rs#L22)

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

### Pending

```rust
Pending = 2
```

The effect is still loading (never reported: loading is immediate).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/effects/composition_effect_factory.rs#L24)

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

### Other

```rust
Other = -1
```

The effect cannot be loaded: an unsupported effect type or composite
mode, a missing source, an animatable property that does not exist.
`CompositionEffectFactory::extended_error` says which.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/rendering/composition/effects/composition_effect_factory.rs#L28)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`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/)
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Copy`
- `Debug`
- `Default`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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