Trait zerotrie::helpers::DebugUnwrapOr

source ·
pub(crate) trait DebugUnwrapOr<T> {
    // Required method
    fn debug_unwrap_or(self, gigo_value: T) -> T;
}

Required Methods§

source

fn debug_unwrap_or(self, gigo_value: T) -> T

Unwraps the option or panics in debug mode, returning the gigo_value

Implementations on Foreign Types§

source§

impl<T> DebugUnwrapOr<T> for Option<T>

source§

fn debug_unwrap_or(self, gigo_value: T) -> T

Implementors§