Skip to main content

Configure

Trait Configure 

Source
pub trait Configure: Sized {
    // Provided method
    fn configure(self, configure: impl FnOnce(&Self)) -> Self { ... }
}

Provided Methods§

Source

fn configure(self, configure: impl FnOnce(&Self)) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> Configure for T