Skip to main content

MappingConfigurator

Trait MappingConfigurator 

Source
pub trait MappingConfigurator<S, B> {
    // Required method
    fn configure(&self, signal: S, behavior: B) -> fn(S) -> B;
}
Expand description

Defines what behavior B should be associated to signal S

Required Methods§

Source

fn configure(&self, signal: S, behavior: B) -> fn(S) -> B

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§