Struct spaces::discrete::NonZeroIntegers
source · pub struct NonZeroIntegers;
Expand description
Type representing the set of non-zero integers, Z*.
Trait Implementations§
source§impl BoundedSpace for NonZeroIntegers
impl BoundedSpace for NonZeroIntegers
§type BoundValue = <NonZeroIntegers as Space>::Value
type BoundValue = <NonZeroIntegers 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 NonZeroIntegers
impl Clone for NonZeroIntegers
source§fn clone(&self) -> NonZeroIntegers
fn clone(&self) -> NonZeroIntegers
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 moresource§impl Debug for NonZeroIntegers
impl Debug for NonZeroIntegers
source§impl<'de> Deserialize<'de> for NonZeroIntegers
impl<'de> Deserialize<'de> for NonZeroIntegers
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