pub type Result<T = (), E = BevyError> = Result<T, E>;
Expand description
A result type for use in fallible systems, commands and observers.
The BevyError
type is a type-erased error type with optional Bevy-specific diagnostics.
Aliased Type§
enum Result<T = (), E = BevyError> {
Ok(T),
Err(E),
}