glance-core 0.1.0

A high-level core library for image IO, display, and drawing operations.
Documentation
1
2
3
4
5
6
7
use crate::Result;
use crate::img::Image;

/// Trait for anything that can be overlayed on top of an image.
pub trait Drawable {
    fn draw_on(&self, image: &mut Image) -> Result<()>;
}