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 moresource§impl Debug for randseed_t
impl Debug for randseed_t
impl Copy for randseed_t
Auto Trait Implementations§
impl Freeze for randseed_t
impl RefUnwindSafe for randseed_t
impl !Send for randseed_t
impl !Sync for randseed_t
impl Unpin for randseed_t
impl UnwindSafe for randseed_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more