CrossFadeEffect
struct · ferroui-base · v0.5.0
struct CrossFadeEffect
Blends two sources by a weight (Win2D CrossFadeEffect): source1 at
weight 0, source2 at weight 1. Animatable: Weight (also as
CrossFade, the name of the Win2D member).
Members
name
name: String
The name of the effect.
weight
weight: f32
The weight of source2, 0 to 1 (default 0.5).
source1
source1: Option<GraphicsEffectSource>
The input shown at weight 0.
source2
source2: Option<GraphicsEffectSource>
The input shown at weight 1.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherFrom<CrossFadeEffect>CloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.