FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    AlphaFormat

    enum · ferroui-base · v0.5.0

    enum AlphaFormat
    

    Describes how to interpret the alpha component of a pixel.

    View source

    Members

    Premul

    Premul
    

    All pixels have their alpha premultiplied in their color components.

    Source

    Unpremul

    Unpremul
    

    All pixels have their color components stored without any regard to the alpha, e.g. they are unpremultiplied.

    Source

    Opaque

    Opaque
    

    All pixels are stored as opaque.

    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.