pub trait SplashScreenExt {
// Required methods
fn spawn_splash(&mut self, config: SplashConfig) -> Entity;
fn spawn_simple_splash(&mut self, title: impl Into<String>) -> Entity;
fn spawn_konnektoren_splash(&mut self) -> Entity;
}
Expand description
Helper trait for easy splash screen setup
Required Methods§
Sourcefn spawn_splash(&mut self, config: SplashConfig) -> Entity
fn spawn_splash(&mut self, config: SplashConfig) -> Entity
Add a splash screen with the given configuration
Sourcefn spawn_simple_splash(&mut self, title: impl Into<String>) -> Entity
fn spawn_simple_splash(&mut self, title: impl Into<String>) -> Entity
Add a simple splash screen with just a title
Sourcefn spawn_konnektoren_splash(&mut self) -> Entity
fn spawn_konnektoren_splash(&mut self) -> Entity
Add a Konnektoren-branded splash screen
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.