pub trait Filler<F> {
// Required methods
fn apply(&mut self, filler: F);
fn new_empty_filler() -> F;
// Provided method
fn apply_with_log<L: FnMut(&str)>(&mut self, filler: F, _log: L) { ... }
}Required Methods§
Sourcefn new_empty_filler() -> F
fn new_empty_filler() -> F
Get an empty filler instance
Provided Methods§
fn apply_with_log<L: FnMut(&str)>(&mut self, filler: F, _log: L)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".