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,
}Expand description
Generated by rb-sys for Ruby 3.0.0
Fields§
§default_seed_bits: size_tGenerated by rb-sys for Ruby 3.0.0
init: rb_random_init_funcGenerated by rb-sys for Ruby 3.0.0
get_int32: rb_random_get_int32_funcGenerated by rb-sys for Ruby 3.0.0
get_bytes: rb_random_get_bytes_funcGenerated by rb-sys for Ruby 3.0.0
get_real: rb_random_get_real_funcGenerated by rb-sys for Ruby 3.0.0
Trait 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 ==.