FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EffectOptimization

    enum · ferroui-base · v0.5.0

    enum EffectOptimization
    

    The speed and quality trade-off of an effect (Win2D EffectOptimization).

    Deviation (winui-materials.md): the blurs of the drawing contexts are exact at every setting; Speed and Balanced draw the output of Quality (Direct2D's approximations are not reproduced).

    View source

    Members

    Speed

    Speed = 0
    

    The fastest form.

    Source

    Balanced

    Balanced = 1
    

    A balance of speed and quality (the Win2D default).

    Source

    Quality

    Quality = 2
    

    The best quality.

    Source

    Trait implementations

    • Send
    • Sync
    • Freeze
    • UnsafeUnpin
    • Unpin
    • UnwindSafe
    • RefUnwindSafe
    • ResourceKeyObject
    • PropertyValue
    • AnyValue
    • 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.