Trait spaces::FiniteSpace

source ·
pub trait FiniteSpace: BoundedSpacewhere
    Self::Value: PartialOrd,
{ fn range(&self) -> Range<Self::Value>; }
Expand description

Trait for defining spaces containing a finite set of values.

Required Methods§

Returns the finite range of values contained by this space.

Implementors§