Skip to main content

Embed

Trait Embed 

Source
pub trait Embed<Target, Idx> {
    // Required method
    fn embed(self) -> Target;
}
Expand description

Embeds one list type into another at a type-level index.

Required Methods§

Source

fn embed(self) -> Target

Converts self into Target.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<H, TailTarget, Source, Idx> Embed<RenderTList<H, TailTarget>, There<Idx>> for Source
where TailTarget: IsRenderList, Source: Embed<TailTarget, Idx>,

Source§

impl<T, L: IsRenderList> Embed<RenderTList<T, L>, Here> for RenderTList<T, L>