Struct gmp_mpfr_sys::gmp::randstate_t
source · #[repr(C)]pub struct randstate_t {
pub seed: randseed_t,
pub alg: MaybeUninit<c_int>,
pub algdata: *const randfnptr_t,
}
Expand description
See: gmp_randstate_t
Future compatibility
The fields listed here are 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: randseed_t
Internal implementation detail: state of the generator.
alg: MaybeUninit<c_int>
Internal implementation detail: unused.
algdata: *const randfnptr_t
Internal implementation detail: pointer to function pointers structure.
Trait Implementations§
source§impl Clone for randstate_t
impl Clone for randstate_t
source§fn clone(&self) -> randstate_t
fn clone(&self) -> randstate_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more