CanAttach

Trait CanAttach 

Source
pub trait CanAttach<B, C> {
    // Required method
    fn do_attach(builder: B, child: C) -> B;
}
Expand description

Marker/behavior for adapter-specific single-child support.

Required Methods§

Source

fn do_attach(builder: B, child: C) -> B

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§

Source§

impl<B, C> CanAttach<B, C> for DefaultAdapter
where B: AttachChild<C>,