Type Alias cosmic::cosmic_theme::palette::rgb::PackedAbgr

source ·
pub type PackedAbgr<P = u32> = Packed<Abgr, P>;
Expand description

A packed representation of RGBA in ABGR order.

Aliased Type§

struct PackedAbgr<P = u32> {
    pub color: P,
    pub channel_order: PhantomData<Abgr>,
}

Fields§

§color: P

The color packed into a type P, such as u32 or [u8; 4].

§channel_order: PhantomData<Abgr>

The channel order for the color components in the packed data. See ComponentOrder.