blob: 59daa8d6cef880d43bf84046f8c23880803092d3 [file] [log] [blame]
#[cfg(test)]
mod mocked;
#[cfg(test)]
pub use mocked::{check_color, create_mocked_drawing_area, MockedBackend};
/// This is the dummy backend placeholder for the backend that never fails
#[derive(Debug)]
pub struct DummyBackendError;
impl std::fmt::Display for DummyBackendError {
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(fmt, "{:?}", self)
}
}
impl std::error::Error for DummyBackendError {}