pub trait ScalarInt<I: Interner>:
Copy
+ Debug
+ Hash
+ Eq {
// Required methods
fn to_scalar(self) -> I::Scalar;
fn try_from_uint(i: impl Into<u128>, size: Size) -> Option<Self>;
}Required Methods§
fn to_scalar(self) -> I::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".