[][src]Struct gsl_sys::gsl_rng_type

#[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_charmax: c_ulongmin: c_ulongsize: usizeset: 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

impl Clone for gsl_rng_type[src]

impl Copy for gsl_rng_type[src]

impl Debug for gsl_rng_type[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.