pub trait ScalarInt<I>:
Copy
+ Debug
+ Hash
+ Eqwhere
I: Interner,{
// Required methods
fn to_scalar(self) -> <I as Interner>::Scalar;
fn try_from_uint(i: impl Into<u128>, size: Size) -> Option<Self>;
}Required Methods§
fn to_scalar(self) -> <I as Interner>::Scalar
fn try_from_uint(i: impl Into<u128>, size: Size) -> Option<Self>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".