Trait SelectionIndicatorController

Source
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)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§