leafwing_input_manager::input_processing::single_axis

Trait RegisterCustomAxisProcessorExt

source
pub trait RegisterCustomAxisProcessorExt {
    // Required method
    fn register_axis_processor<'de, T>(&mut self) -> &mut Self
       where T: RegisterTypeTag<'de, dyn CustomAxisProcessor> + GetTypeRegistration;
}
Expand description

A trait for registering a specific CustomAxisProcessor.

Required Methods§

source

fn register_axis_processor<'de, T>(&mut self) -> &mut Self

Registers the specified CustomAxisProcessor.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl RegisterCustomAxisProcessorExt for App

source§

fn register_axis_processor<'de, T>(&mut self) -> &mut Self

Implementors§