ConvertFrom

Trait ConvertFrom 

Source
pub trait ConvertFrom<T> {
    // Required method
    fn _from(_: &T) -> Self;
}
Expand description

Trait to allow other BigInt conversion (e.g., from u64)

Required Methods§

Source

fn _from(_: &T) -> Self

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 ConvertFrom<Mpz> for u64

Source§

fn _from(x: &Mpz) -> u64

Implementors§