pub trait Hinter {
type Hint: Hint + 'static;
// Provided method
fn hint(
&self,
line: &str,
pos: usize,
ctx: &Context<'_>,
) -> Option<Self::Hint> { ... }
}Expand description
Hints provider
Required Associated Types§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".