[][src]Struct gmp_mpfr_sys::gmp::randstate_t

#[repr(C)]
pub struct randstate_t { pub seed: mpz_t, pub alg: c_int, pub algdata: *mut c_void, }

See: gmp_randstate_t

Compatibility note

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.1" inside Cargo.toml, not version = "1.1".

Fields

seed: mpz_t

Internal implementation detail: state of the generator.

alg: c_int

Internal implementation detail: unused.

algdata: *mut c_void

Internal implementation detail: pointer to function pointers structure.

Trait Implementations

impl Clone for randstate_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for randstate_t[src]

impl Debug for randstate_t[src]

Auto Trait Implementations

impl !Send for randstate_t

impl !Sync for randstate_t

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]