pub trait SNew {
// Required method
fn new() -> Self;
// Provided methods
fn as_ptr(&self) -> mp_r { ... }
fn as_ptr_mut(&mut self) -> mp_t { ... }
}Expand description
trait SNew
Required Methods§
Provided Methods§
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.
Implementors§
impl SNew for __mpf_struct
impl SNew
impl SNew for __mpq_struct
impl SNew
impl SNew for __mpz_struct
impl SNew
impl SNew for gmp_randstate_struct
impl SNew