pub(crate) trait DebugUnwrapOr<T> {
// Required method
fn debug_unwrap_or(self, gigo_value: T) -> T;
}Required Methods§
Sourcefn debug_unwrap_or(self, gigo_value: T) -> T
fn debug_unwrap_or(self, gigo_value: T) -> T
Unwraps the option or panics in debug mode, returning the gigo_value
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".