pub trait Unwrap<T> {
// Required method
fn unwrap(self) -> T;
}
Expand description
A value that may be unwrapped.
use big_int::prelude::*;
let a: Tight<10> = 120.into();
let b: Tight<10> = 5.into();
let b: DenormalTight<10> = a.div_inner::<_, Tight<10>>(b);
let c: Tight<10> = b.unwrap();
assert_eq!(c, 24.into());