Skip to main content

Configure

Trait Configure 

Source
pub trait Configure<This> {
    type Properties;

    // Required method
    fn configure<F>(&mut self, this: This, function: F) -> &mut Self
       where F: FnOnce(&mut Self::Properties) -> &mut Self::Properties;
}
Expand description

Overloaded configure method

Required Associated Types§

Source

type Properties

The properties of what’s being configured

Required Methods§

Source

fn configure<F>(&mut self, this: This, function: F) -> &mut Self
where F: FnOnce(&mut Self::Properties) -> &mut Self::Properties,

Configure some set of properties

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§