Struct gmp_mpfr_sys::gmp::randseed_t
source · #[repr(C)]pub struct randseed_t {
pub alloc: MaybeUninit<c_int>,
pub size: MaybeUninit<c_int>,
pub d: NonNull<c_void>,
}
Expand description
The type for the seed
field in the randstate_t
struct.
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.5"
inside Cargo.toml, not version = "1.5"
.
Fields§
§alloc: MaybeUninit<c_int>
Internal implementation detail: unused.
size: MaybeUninit<c_int>
Internal implementation detail: unused.
d: NonNull<c_void>
Internal implementation detail: state of the generator.
Trait Implementations§
source§impl Clone for randseed_t
impl Clone for randseed_t
source§fn clone(&self) -> randseed_t
fn clone(&self) -> randseed_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