Struct rb_sys::bindings::rb_random_interface_t
source · #[repr(C)]pub struct rb_random_interface_t {
pub default_seed_bits: size_t,
pub init: rb_random_init_func,
pub get_int32: rb_random_get_int32_func,
pub get_bytes: rb_random_get_bytes_func,
pub get_real: rb_random_get_real_func,
}Fields§
§default_seed_bits: size_t§init: rb_random_init_func§get_int32: rb_random_get_int32_func§get_bytes: rb_random_get_bytes_func§get_real: rb_random_get_real_funcTrait Implementations§
source§impl Clone for rb_random_interface_t
impl Clone for rb_random_interface_t
source§fn clone(&self) -> rb_random_interface_t
fn clone(&self) -> rb_random_interface_t
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 rb_random_interface_t
impl Debug for rb_random_interface_t
source§impl PartialEq<rb_random_interface_t> for rb_random_interface_t
impl PartialEq<rb_random_interface_t> for rb_random_interface_t
source§fn eq(&self, other: &rb_random_interface_t) -> bool
fn eq(&self, other: &rb_random_interface_t) -> bool
This method tests for
self and other values to be equal, and is used
by ==.