Trait num_bigint_dig::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§

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

source§

impl ToBigInt for f64

source§

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

source§

impl ToBigInt for i8

source§

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

source§

impl ToBigInt for i16

source§

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

source§

impl ToBigInt for i32

source§

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

source§

impl ToBigInt for i64

source§

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

source§

impl ToBigInt for i128

source§

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

source§

impl ToBigInt for isize

source§

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

source§

impl ToBigInt for u8

source§

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

source§

impl ToBigInt for u16

source§

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

source§

impl ToBigInt for u32

source§

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

source§

impl ToBigInt for u64

source§

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

source§

impl ToBigInt for u128

source§

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

source§

impl ToBigInt for usize

source§

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

Implementors§