Skip to main content

HintHandler

Trait HintHandler 

Source
pub trait HintHandler:
    Fn(&BStr) -> Option<Hint>
    + Send
    + Sync { }
Expand description

Closure type for inline hint handlers.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<F: Fn(&BStr) -> Option<Hint> + Send + Sync> HintHandler for F