pub trait Pack<P = u32> {
// Required methods
fn pack(&self) -> P;
fn unpack(from: P) -> Self;
}
Expand description
packs and unpacks this pixel
note that unpack(pack(p))
may not equal p
Required Methods§
Object Safety§
This trait is not object safe.