Skip to main content

TemplateAddress

Trait TemplateAddress 

Source
pub trait TemplateAddress<Cont> {
    type Builder;

    // Required method
    fn begin(cont: Cont) -> Self::Builder;
}
Expand description

A destination template’s binding builder: what to() opens for a type whose declared name carries placeholders.

Implemented by #[derive(Outgoing)] on a type with a templated name; the associated Builder is the generated value carrying one setter per placeholder. You never implement it by hand.

Required Associated Types§

Source

type Builder

The generated builder, with every placeholder still unbound.

Required Methods§

Source

fn begin(cont: Cont) -> Self::Builder

Opens the builder over the publish it will finish.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§