Type Alias palette::luma::PackedAluma

source ·
pub type PackedAluma<P = u16> = Packed<Al, P>;
Expand description

A packed representation of Luma+Alpha in AL order.

Aliased Type§

struct PackedAluma<P = u16> {
    pub color: P,
    pub channel_order: PhantomData<Al>,
}

Fields§

§color: P

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

§channel_order: PhantomData<Al>

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