use crate::cursor::MoveOperation;
pub trait IterationMethod {
const MOVE_OPERATION: MoveOperation;
}
#[derive(Debug, Clone, Copy)]
pub enum MoveThroughDuplicateValues {}
impl IterationMethod for MoveThroughDuplicateValues {
const MOVE_OPERATION: MoveOperation = MoveOperation::Any;
}
#[derive(Debug, Clone, Copy)]
pub enum MoveBetweenKeys {}
impl IterationMethod for MoveBetweenKeys {
const MOVE_OPERATION: MoveOperation = MoveOperation::NoDup;
}
#[derive(Debug, Clone, Copy)]
pub enum MoveOnCurrentKeyDuplicates {}
impl IterationMethod for MoveOnCurrentKeyDuplicates {
const MOVE_OPERATION: MoveOperation = MoveOperation::Dup;
}