Skip to main content

Config

Trait Config 

Source
pub trait Config<G>: Context {
    type Key: Key;
    type Index: Compact;

    // Required method
    fn config(config: &G) -> Build<Self::Layout>;
}
Expand description

Projects validated host settings before native construction begins.

Required Associated Types§

Required Methods§

Source

fn config(config: &G) -> Build<Self::Layout>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§