Skip to main content

Groups

Trait Groups 

Source
pub trait Groups {
    // Required method
    fn group(&mut self, path: &str, define: impl FnOnce(&mut Self));
}

Required Methods§

Source

fn group(&mut self, path: &str, define: impl FnOnce(&mut Self))

A record below path must hold the ids its path parameters name, or it is not found.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

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