Skip to main content

ToBigInt

Trait ToBigInt 

Source
pub trait ToBigInt<'a> {
    // Required method
    fn to_big_int(&self, ctx: &impl GlobalContext<'a>) -> Option<BigInt>;
}
Expand description

Required Methods§

Source

fn to_big_int(&self, ctx: &impl GlobalContext<'a>) -> Option<BigInt>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a> ToBigInt<'a> for BigIntLiteral<'a>

Source§

fn to_big_int(&self, _ctx: &impl GlobalContext<'a>) -> Option<BigInt>

Source§

impl<'a> ToBigInt<'a> for Expression<'a>

Source§

fn to_big_int(&self, ctx: &impl GlobalContext<'a>) -> Option<BigInt>

Implementors§