Type Alias RAND_METHOD

Source
pub type RAND_METHOD = rand_meth_st;

Aliased Type§

struct RAND_METHOD {
    pub seed: Option<unsafe extern "C" fn(*const c_void, i32)>,
    pub bytes: Option<unsafe extern "C" fn(*mut u8, usize) -> i32>,
    pub cleanup: Option<unsafe extern "C" fn()>,
    pub add: Option<unsafe extern "C" fn(*const c_void, i32, f64)>,
    pub pseudorand: Option<unsafe extern "C" fn(*mut u8, usize) -> i32>,
    pub status: Option<unsafe extern "C" fn() -> i32>,
}

Fields§

§seed: Option<unsafe extern "C" fn(*const c_void, i32)>§bytes: Option<unsafe extern "C" fn(*mut u8, usize) -> i32>§cleanup: Option<unsafe extern "C" fn()>§add: Option<unsafe extern "C" fn(*const c_void, i32, f64)>§pseudorand: Option<unsafe extern "C" fn(*mut u8, usize) -> i32>§status: Option<unsafe extern "C" fn() -> i32>