# CompositionEffectFactoryError

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

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

```rust
enum CompositionEffectFactoryError
```

Why an effect factory did not load its effect: the `ExtendedError` of
WinUI's factory, as a value.

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

## Members

- [`EffectTypeNotSupported`](#variant-effecttypenotsupported)
- [`CompositeModeNotSupported`](#variant-compositemodenotsupported)
- [`MissingSource`](#variant-missingsource)
- [`InvalidAnimatableProperty`](#variant-invalidanimatableproperty)
- [`EffectTooComplex`](#variant-effecttoocomplex)

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

### EffectTypeNotSupported

```rust
EffectTypeNotSupported(&'static str)
```

An effect of the graph is of a type the drawing contexts cannot
draw (the name of its Win2D class).

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

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

### CompositeModeNotSupported

```rust
CompositeModeNotSupported(super::CanvasComposite)
```

A composite effect has a mode the drawing contexts do not have
(`MaskInvert`).

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

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

### MissingSource

```rust
MissingSource { effect: &'static str, name: String }
```

An effect of the graph has an input that is not set.

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

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

### InvalidAnimatableProperty

```rust
InvalidAnimatableProperty(String)
```

An animatable property name does not name an animatable property of
a named effect of the graph (`EffectName.PropertyName`).

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

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

### EffectTooComplex

```rust
EffectTooComplex
```

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#L52)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`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`
- `ToString`
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Display`
- [`Error`](/docs/0.5.0/api/ferroui-dynamic-data/kernel/struct-error/)

## Availability

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