FiniteExt

Trait FiniteExt 

Source
pub trait FiniteExt: Finite {
    // Provided method
    fn iter_all() -> IterAll<Self>  { ... }
}
Expand description

An extension for Finite providing the iter_all method.

Provided Methods§

Source

fn iter_all() -> IterAll<Self>

An iterator over all inhabitants of the type, ordered by the order provided by Finite.

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.

Implementors§

Source§

impl<T: Finite> FiniteExt for T