🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Objects that can be stepped over in both directions.
The steps_between
function provides a way to efficiently compare
two Step
objects.
fn steps_between(start: &Self, end: &Self) -> Option<usize>
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Returns the number of steps between two step objects. The count is
inclusive of start
and exclusive of end
.
Returns None
if it is not possible to calculate steps_between
without overflow.
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Replaces this step with 1
, returning itself.
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Replaces this step with 0
, returning itself.
fn add_one(&self) -> Self
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Adds one to this step, returning the result.
fn sub_one(&self) -> Self
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Subtracts one to this step, returning the result.
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Adds a usize
, returning None
on overflow.
Loading content...
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Subtracts a usize
, returning None
on underflow.
Loading content...
impl Step for i8
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for i16
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for i32
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for i64
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for i128
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for isize
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for u8
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for u16
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for u32
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for u64
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for u128
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
impl Step for usize
[src]
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
🔬 This is a nightly-only experimental API. (step_trait
#42168)
likely to be replaced by finer-grained traits
Loading content...