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(upper_bound: uint32_t) -> uint32_t, pub buf: extern "C" fn(buf: *mut c_void, size: 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(upper_bound: uint32_t) -> uint32_t
buf: extern "C" fn(buf: *mut c_void, size: size_t)
close: extern "C" fn() -> c_int
Trait Implementations
impl Copy for randombytes_implementation
[src]
impl Copy for randombytes_implementation
impl Clone for randombytes_implementation
[src]
impl Clone for randombytes_implementation
fn clone(&self) -> randombytes_implementation
[src]
fn clone(&self) -> randombytes_implementation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for randombytes_implementation
impl Send for randombytes_implementation
impl Sync for randombytes_implementation
impl Sync for randombytes_implementation