pub trait RNGTraitConst {
// Required method
fn as_raw_RNG(&self) -> *const c_void;
// Provided methods
fn state(&self) -> u64 { ... }
fn equals(&self, other: &impl RNGTraitConst) -> Result<bool> { ... }
}Expand description
Constant methods for core::RNG
Required Methods§
fn as_raw_RNG(&self) -> *const c_void
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.