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§
fn to_ordinal(&self) -> Range<usize>
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.