Skip to main content

Shipped

Trait Shipped 

Source
pub trait Shipped<A: Area> {
    // Required method
    fn shipped<Args: 'static, H>(
        &mut self,
        path: &str,
        name: &str,
        template: impl Into<ShippedTemplate>,
        loader: H,
    ) -> PageRoute<'_, A>
       where H: Loader<A, Args>;
}

Required Methods§

Source

fn shipped<Args: 'static, H>( &mut self, path: &str, name: &str, template: impl Into<ShippedTemplate>, loader: H, ) -> PageRoute<'_, A>
where H: Loader<A, Args>,

Rendered from its template unless the module writes screens/<name>.html.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<A: Area> Shipped<A> for Routes<A>