Trait FiniteSpace

Source
pub trait FiniteSpace: Space {
    // Provided method
    fn to_ordinal(&self) -> Range<usize> { ... }
}
Expand description

Trait for defining spaces containing a finite set of values.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FiniteSpace for Range<usize>

Source§

fn to_ordinal(&self) -> Range<Self::Value>

Implementors§