Struct libsodium_ffi::randombytes_implementation
[−]
[src]
#[repr(C)]pub struct randombytes_implementation { pub implementation_name: extern "C" fn() -> *const c_char, pub random: extern "C" fn() -> uint32_t, pub stir: extern "C" fn(), pub uniform: extern "C" fn(_: uint32_t) -> uint32_t, pub buf: extern "C" fn(_: *mut c_void, _: size_t), pub close: extern "C" fn() -> c_int, }
Fields
implementation_name: extern "C" fn() -> *const c_char
random: extern "C" fn() -> uint32_t
stir: extern "C" fn()
uniform: extern "C" fn(_: uint32_t) -> uint32_t
buf: extern "C" fn(_: *mut c_void, _: size_t)
close: extern "C" fn() -> c_int
Trait Implementations
impl Copy for randombytes_implementation
[src]
impl Clone for randombytes_implementation
[src]
fn clone(&self) -> randombytes_implementation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more