#[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 mri-x86_64-linux-gnu-3.0.2
Fields§
§default_seed_bits: size_tGenerated by rb-sys for Ruby mri-x86_64-linux-gnu-3.0.2
init: rb_random_init_funcGenerated by rb-sys for Ruby mri-x86_64-linux-gnu-3.0.2
get_int32: rb_random_get_int32_funcGenerated by rb-sys for Ruby mri-x86_64-linux-gnu-3.0.2
get_bytes: rb_random_get_bytes_funcGenerated by rb-sys for Ruby mri-x86_64-linux-gnu-3.0.2
get_real: rb_random_get_real_funcGenerated by rb-sys for Ruby mri-x86_64-linux-gnu-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
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