Skip to main content

ScanPosition

Trait ScanPosition 

Source
pub trait ScanPosition: Copy + Ord {
    // Required method
    fn successor(self) -> Option<Self>;
}
Expand description

A scan position with a successor, so scan bounds can tell exactly whether they admit any position.

Required Methods§

Source

fn successor(self) -> Option<Self>

The next position in scan order, if there is one.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ScanPosition for u64

Source§

fn successor(self) -> Option<Self>

Implementors§