Trait msdfgen::Pixel

source ·
pub trait Pixel {
    type Component;

    fn components(&self) -> &[Self::Component];
    fn components_mut(&mut self) -> &mut [Self::Component];
    fn invert(&mut self);
}
Expand description

Bitmap pixel

Required Associated Types§

Required Methods§

Implementors§