pub struct Naturals;
Expand description
Type representing the set of natural numbers, N.
Trait Implementations§
source§impl BoundedSpace for Naturals
impl BoundedSpace for Naturals
§type BoundValue = <Naturals as Space>::Value
type BoundValue = <Naturals 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<'de> Deserialize<'de> for Naturals
impl<'de> Deserialize<'de> for Naturals
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more