pub trait Step: HasTypeWitness<StepWitness<Self>> + Copy {
const MIN_VAL: Self;
const MAX_VAL: Self;
}
Expand description
Trait for all the types that can be iterated over with ranges.
This trait is sealed and can only be implemented by konst
Required Associated Constants§
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.