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>
Trait Implementations
Source§impl Clone for rand_meth_st
impl Clone for rand_meth_st
Source§fn clone(&self) -> rand_meth_st
fn clone(&self) -> rand_meth_st
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for rand_meth_st
impl Debug for rand_meth_st
Source§impl Default for rand_meth_st
impl Default for rand_meth_st
Source§fn default() -> rand_meth_st
fn default() -> rand_meth_st
Returns the “default value” for a type. Read more