Trait Filler

Source
pub trait Filler<F> {
    // Required methods
    fn apply(&mut self, filler: F);
    fn new_empty_filler() -> F;
}

Required Methods§

Source

fn apply(&mut self, filler: F)

Apply a filler

Source

fn new_empty_filler() -> F

Get an empty filler instance

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§