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
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
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
sourceimpl Clone for randseed_t
impl Clone for randseed_t
sourcefn clone(&self) -> randseed_t
fn clone(&self) -> randseed_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for randseed_t
impl Debug for randseed_t
impl Copy for randseed_t
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more