Struct gsl_sys::gsl_rng_type [−][src]
#[repr(C)]pub struct gsl_rng_type {
pub name: *const c_char,
pub max: c_ulong,
pub min: c_ulong,
pub size: usize,
pub set: Option<unsafe extern "C" fn(state: *mut c_void, seed: c_ulong)>,
pub get: Option<unsafe extern "C" fn(state: *mut c_void) -> c_ulong>,
pub get_double: Option<unsafe extern "C" fn(state: *mut c_void) -> f64>,
}
Fields
name: *const c_char
max: c_ulong
min: c_ulong
size: usize
set: Option<unsafe extern "C" fn(state: *mut c_void, seed: c_ulong)>
get: Option<unsafe extern "C" fn(state: *mut c_void) -> c_ulong>
get_double: Option<unsafe extern "C" fn(state: *mut c_void) -> f64>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for gsl_rng_type
impl !Send for gsl_rng_type
impl !Sync for gsl_rng_type
impl Unpin for gsl_rng_type
impl UnwindSafe for gsl_rng_type
Blanket Implementations
Mutably borrows from an owned value. Read more