pub trait ExampleProvider: Send + Sync {
// Required method
fn examples(&self) -> Vec<Example>;
}Expand description
Trait for providing examples dynamically.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".