pub struct NamedRoutes(/* private fields */);Expand description
The named routes of a finished router.
Built by Router::named_routes and shared with the template engine, so
@route("users.show") resolves to the same path url_for gives — the
filling in happens in [fill], once, rather than in two implementations
that would drift.
Implementations§
Trait Implementations§
Source§impl Clone for NamedRoutes
impl Clone for NamedRoutes
Auto Trait Implementations§
impl Freeze for NamedRoutes
impl RefUnwindSafe for NamedRoutes
impl Send for NamedRoutes
impl Sync for NamedRoutes
impl Unpin for NamedRoutes
impl UnsafeUnpin for NamedRoutes
impl UnwindSafe for NamedRoutes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more