Skip to main content

InternalRng

Trait InternalRng 

Source
pub trait InternalRng: Rng { }
Expand description

A marker trait for an Rng that does not emit any diagnostics of its own.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, T: ?Sized + InternalRng> InternalRng for Arc<T>

Available on crate feature alloc only.
Source§

impl<'a, T: ?Sized + InternalRng> InternalRng for Box<T>

Available on crate feature alloc only.

Implementors§