Trait num_bigint::ToBigInt[][src]

pub trait ToBigInt {
    fn to_bigint(&self) -> Option<BigInt>;
}
Expand description

A generic trait for converting a value to a BigInt. This may return None when converting from f32 or f64, and will always succeed when converting from any integer or unsigned primitive, or BigUint.

Required methods

Converts the value of self to a BigInt.

Implementations on Foreign Types

Implementors