1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
use canvas::*;

///
/// Actions for creating drawing overlays
/// 
#[derive(Clone, PartialEq, Debug)]
pub enum OverlayAction {
    /// Clears anything in the overlay
    Clear,

    /// Performs drawing actions to the current overlay (appended to the current overlay layer)
    Draw(Vec<Draw>)
}