Trait cairo_lang_utils::casts::IntoOrPanic
source · pub trait IntoOrPanic: Sized + Copy + Debug {
// Provided method
fn into_or_panic<T>(self) -> T
where T: TryFrom<Self> + Debug,
<T as TryFrom<Self>>::Error: Debug { ... }
}
Provided Methods§
fn into_or_panic<T>(self) -> Twhere T: TryFrom<Self> + Debug, <T as TryFrom<Self>>::Error: Debug,
Object Safety§
This trait is not object safe.