Skip to main content

RangeDefaultStepExtension

Trait RangeDefaultStepExtension 

Source
pub trait RangeDefaultStepExtension: RangeDefault{
    // Required method
    fn step(
        self,
        step: <Range<Self> as RangeStepExtension>::Item,
    ) -> <Range<Self> as RangeStepExtension>::Output ;
}

Required Methods§

Source

fn step( self, step: <Range<Self> as RangeStepExtension>::Item, ) -> <Range<Self> as RangeStepExtension>::Output

Step using the RangeDefault : Self::RANGE_MIN..Self::MAX

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§