pub trait LayerBackend: Dimension {
type DeviceContextType: DeviceContextBackend;
type CanvasType: CanvasBackend;
// Required method
fn new(
context: Option<&Self::DeviceContextType>,
width: usize,
height: usize,
canvas: &Self::CanvasType,
) -> Result<Self, GraphicsError>
where Self: Sized;
}