AttachChild

Trait AttachChild 

Source
pub trait AttachChild<C>: Sized {
    // Required method
    fn attach_child(self, child: C) -> Self;
}
Expand description

Trait for builders that can accept a single child value. Implement this on your toolkit’s builder type when you want to opt into the default adapter.

Required Methods§

Source

fn attach_child(self, child: C) -> Self

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§