pub trait ToBig: Sized {
// Required method
fn to_big_uint(self) -> BigUint;
// Provided methods
fn to_big_int(self) -> BigInt { ... }
fn to_big_decimal(self) -> BigDecimal { ... }
}
Required Methods§
fn to_big_uint(self) -> BigUint
Provided Methods§
fn to_big_int(self) -> BigInt
fn to_big_decimal(self) -> BigDecimal
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.