Struct renforce::environment::Range
[−]
[src]
pub struct Range { /* fields omitted */ }
Range
Represents a Space with elements drawn from some range [low, high)
Methods
impl Range
[src]
Trait Implementations
impl Debug for Range
[src]
impl Clone for Range
[src]
fn clone(&self) -> Range
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for Range
[src]
impl Space for Range
[src]
type Element = f64
The type of members of the Space
fn sample(&self) -> f64
Returns a random element of this space