palette::luma

Type Alias PackedLumaa

source
pub type PackedLumaa<P = u16> = Packed<La, P>;
Expand description

A packed representation of Luma+Alpha in LA order.

Aliased Type§

struct PackedLumaa<P = u16> {
    pub color: P,
    pub channel_order: PhantomData<La>,
}

Fields§

§color: P

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

§channel_order: PhantomData<La>

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