pub trait Sample: Sealed { }Expand description
A type Rng::random can draw.
Implemented for bool, f32, f64, and the fixed-width integers
u8..u64 and i8..i64. Sealed for the same reason as
SampleRange: the width of the draw is part of the replay contract.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".