ceratophrys 0.0.3

Library to draw pixel art as code
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{filters::Filter, Image};

#[derive(Debug, Clone, Copy)]
pub struct Erase;

impl Filter for Erase {
    fn filter(&self, image: &mut Image) {
        *image = Image::default();
    }
}