SaturationEffect
struct · ferroui-base · v0.5.0
struct SaturationEffect
Changes the saturation of its source (Win2D SaturationEffect): a
colour matrix (ColorMatrix::saturation). Animatable: Saturation.
Members
name
name: String
The name of the effect.
saturation
saturation: f32
The saturation, 0 (grey) to 1 (unchanged), up to 2 (more saturated) (default 0.5).
source
source: Option<GraphicsEffectSource>
The input.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafePropertyValueAnyValueClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherFrom<SaturationEffect>CloneDebugStructuralPartialEqPartialEqDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.