Struct rb_sys::bindings::uncategorized::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.2
Fields§
§default_seed_bits: size_tGenerated by rb-sys for Ruby 3.0.2
init: rb_random_init_funcGenerated by rb-sys for Ruby 3.0.2
get_int32: rb_random_get_int32_funcGenerated by rb-sys for Ruby 3.0.2
get_bytes: rb_random_get_bytes_funcGenerated by rb-sys for Ruby 3.0.2
get_real: rb_random_get_real_funcGenerated by rb-sys for Ruby 3.0.2
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 for rb_random_interface_t
impl PartialEq 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 ==.impl Copy for rb_random_interface_t
impl Eq for rb_random_interface_t
impl StructuralPartialEq for rb_random_interface_t
Auto Trait Implementations§
impl Freeze for rb_random_interface_t
impl RefUnwindSafe for rb_random_interface_t
impl Send for rb_random_interface_t
impl Sync for rb_random_interface_t
impl Unpin for rb_random_interface_t
impl UnwindSafe for rb_random_interface_t
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more