Context implementation
This commit is contained in:
@@ -21,6 +21,7 @@ pub type View = Arc<dyn Fn(&mut DrawContext) + Send + Sync>;
|
||||
pub type ViewWrapper = Arc<dyn Fn(&mut DrawContext, View) + Send + Sync>;
|
||||
pub type Result<T> = std::result::Result<T, Error>;
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub enum Error {
|
||||
PoisonError,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user