Trait ToBig

Source
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§

Provided Methods§

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.

Implementations on Foreign Types§

Source§

impl<const BITS: usize, const LIMBS: usize> ToBig for Signed<BITS, LIMBS>

Source§

impl<const BITS: usize, const LIMBS: usize> ToBig for Uint<BITS, LIMBS>

Implementors§