Emil Ernerfeldt
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
2 deletions
-
crates/eframe/src/epi.rs
-
crates/eframe/src/lib.rs
|
|
@ -41,7 +41,7 @@ pub type EventLoopBuilderHook = Box<dyn FnOnce(&mut EventLoopBuilder<UserEvent>) |
|
|
|
#[cfg(any(feature = "glow", feature = "wgpu"))] |
|
|
|
pub type WindowBuilderHook = Box<dyn FnOnce(egui::ViewportBuilder) -> egui::ViewportBuilder>; |
|
|
|
|
|
|
|
type DynError = Box<dyn std::error::Error>; |
|
|
|
type DynError = Box<dyn std::error::Error + Send + Sync>; |
|
|
|
|
|
|
|
/// This is how your app is created.
|
|
|
|
///
|
|
|
|
|
|
@ -334,7 +334,7 @@ pub fn run_simple_native( |
|
|
|
#[derive(Debug)] |
|
|
|
pub enum Error { |
|
|
|
/// Something went wrong in user code when creating the app.
|
|
|
|
AppCreation(Box<dyn std::error::Error>), |
|
|
|
AppCreation(Box<dyn std::error::Error + Send + Sync>), |
|
|
|
|
|
|
|
/// An error from [`winit`].
|
|
|
|
#[cfg(not(target_arch = "wasm32"))] |
|
|
|