Struct gmp_mpfr_sys::gmp::randfnptr_t [−][src]
#[repr(C)]pub struct randfnptr_t {
pub seed: unsafe extern "C" fn(rstate: *mut randstate_t, seed: *const mpz_t),
pub get: unsafe extern "C" fn(rstate: *mut randstate_t, dest: *mut limb_t, nbits: c_ulong),
pub clear: unsafe extern "C" fn(rstate: *mut randstate_t),
pub iset: unsafe extern "C" fn(dst: *mut randstate_t, src: *const randstate_t),
}
Expand description
The type for the algdata
field in the randstate_t
struct.
Future compatibility
This type is considered internal details. These internals may
change in new minor releases of this crate, though they will be
kept unchanged for patch releases. Any code that makes use of
these internals should list the dependency as version = "~1.4"
inside Cargo.toml, not version = "1.4"
.
Fields
seed: unsafe extern "C" fn(rstate: *mut randstate_t, seed: *const mpz_t)
Internal implementation detail: pointer to function.
get: unsafe extern "C" fn(rstate: *mut randstate_t, dest: *mut limb_t, nbits: c_ulong)
Internal implementation detail: pointer to function.
clear: unsafe extern "C" fn(rstate: *mut randstate_t)
Internal implementation detail: pointer to function.
iset: unsafe extern "C" fn(dst: *mut randstate_t, src: *const randstate_t)
Internal implementation detail: pointer to function.