Struct spaces::continuous::NonNegativeReals
source · pub struct NonNegativeReals;
Expand description
Type representing the set of non-negative real numbers, R(≥0).
Trait Implementations§
source§impl BoundedSpace for NonNegativeReals
impl BoundedSpace for NonNegativeReals
§type BoundValue = <NonNegativeReals as Space>::Value
type BoundValue = <NonNegativeReals as Space>::Value
The upper/lower bound type; not necessarily equal to
Space::Value
.source§fn contains(&self, val: Self::BoundValue) -> bool
fn contains(&self, val: Self::BoundValue) -> bool
Returns true iff
val
lies within the dimension’s bounds (closed).source§impl Clone for NonNegativeReals
impl Clone for NonNegativeReals
source§fn clone(&self) -> NonNegativeReals
fn clone(&self) -> NonNegativeReals
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more