FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    EffectBorderMode

    enum · ferroui-base · v0.5.0

    enum EffectBorderMode
    

    How a blur treats the edges of its input (Win2D EffectBorderMode): Soft fades the edges (the blur reads transparent pixels beyond its area), Hard keeps them (the blur reads its source beyond the area and its output is cut to the area).

    View source

    Members

    Soft

    Soft = 0
    

    The edges fade to transparent (the Win2D default).

    Source

    Hard

    Hard = 1
    

    The edge pixels are repeated.

    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.