num_bigint_dig

Trait ToBigInt

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

A generic trait for converting a value to a BigInt.

Required Methods§

Source

fn to_bigint(&self) -> Option<BigInt>

Converts the value of self to a BigInt.

Implementations on Foreign Types§

Source§

impl ToBigInt for f32

Source§

impl ToBigInt for f64

Source§

impl ToBigInt for i8

Source§

impl ToBigInt for i16

Source§

impl ToBigInt for i32

Source§

impl ToBigInt for i64

Source§

impl ToBigInt for i128

Source§

impl ToBigInt for isize

Source§

impl ToBigInt for u8

Source§

impl ToBigInt for u16

Source§

impl ToBigInt for u32

Source§

impl ToBigInt for u64

Source§

impl ToBigInt for u128

Source§

impl ToBigInt for usize

Implementors§