FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    SaturationEffect

    struct · ferroui-base · v0.5.0

    struct SaturationEffect
    

    Changes the saturation of its source (Win2D SaturationEffect): a colour matrix (ColorMatrix::saturation). Animatable: Saturation.

    View source

    Members

    name

    name: String
    

    The name of the effect.

    Source

    saturation

    saturation: f32
    

    The saturation, 0 (grey) to 1 (unchanged), up to 2 (more saturated) (default 0.5).

    Source

    source

    source: Option<GraphicsEffectSource>
    

    The input.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • PropertyValue
    • AnyValue
    • ClassDefaults
    • Borrow<T>
    • BorrowMut<T>
    • CloneToUninit
    • Into<U>
    • From<T>
    • TryInto<U>
    • TryFrom<U>
    • Any
    • ToOwned
    • ErasedDestructor
    • IntoEither
    • From<SaturationEffect>
    • Clone
    • Debug
    • StructuralPartialEq
    • PartialEq
    • Default

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.