[][src]Struct spaces::discrete::NonNegativeIntegers

pub struct NonNegativeIntegers;

Type representing the set of non-negative integers, Z(≥0).

Trait Implementations

impl Space for NonNegativeIntegers[src]

type Value = u64

The data representation of the space.

impl BoundedSpace for NonNegativeIntegers[src]

type BoundValue = Self::Value

The upper/lower bound type; not necessarily equal to Space::Value.

impl Enclose<NonNegativeIntegers> for NonNegativeIntegers[src]

fn enclose_many(self, other_spaces: &[S]) -> Self where
    Self: Sized
[src]

Return the smallest space enclosing self and all other_spaces of type Self.

impl Copy for NonNegativeIntegers[src]

impl Clone for NonNegativeIntegers[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for NonNegativeIntegers[src]

impl Display for NonNegativeIntegers[src]

impl<'de> Deserialize<'de> for NonNegativeIntegers[src]

impl Serialize for NonNegativeIntegers[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]