pub trait SelectionIndicatorController: Copy {
    type State: Default + Copy;

    // Required methods
    fn update_target(&self, state: &mut Self::State, y: i32);
    fn jump_to_target(&self, state: &mut Self::State);
    fn offset(&self, state: &Self::State) -> i32;
    fn update(&self, state: &mut Self::State);
}

Required Associated Types§

Required Methods§

source

fn update_target(&self, state: &mut Self::State, y: i32)

source

fn jump_to_target(&self, state: &mut Self::State)

source

fn offset(&self, state: &Self::State) -> i32

source

fn update(&self, state: &mut Self::State)

Object Safety§

This trait is not object safe.

Implementors§