Skip to main content

Template

Trait Template 

Source
pub trait Template {
    type Output;

    // Required method
    fn define(self) -> <Self as Template>::Output;
}

Required Associated Types§

Required Methods§

Source

fn define(self) -> <Self as Template>::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§