1
0
Fork 0

Make ranges Clone and Copy

This commit is contained in:
Robbert van der Helm 2022-05-29 14:22:14 +02:00
parent 45c141c394
commit 782b46308a

View file

@ -1,7 +1,7 @@
//! Different ranges for numeric parameters.
/// A distribution for a floating point parameter's range. All range endpoints are inclusive.
#[derive(Debug)]
#[derive(Debug, Clone, Copy)]
pub enum FloatRange {
/// The values are uniformly distributed between `min` and `max`.
Linear { min: f32, max: f32 },