RNGTraitConst

Trait RNGTraitConst 

Source
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§

Provided Methods§

Source

fn state(&self) -> u64

Source

fn equals(&self, other: &impl RNGTraitConst) -> Result<bool>

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.

Implementors§