Crate gpui_router

Crate gpui_router 

Source

Structs§

Location
NavLink
Outlet
PathMatch
Route
Configures an element to render when a pattern matches the current path. It must be rendered within a Routes element.
Router
RouterState
Routes
Renders a branch of Route that best matches the current path.

Traits§

Layout

Functions§

init
nav_link
outlet
route
router
use_location
Returns the current Location. This can be useful if you’d like to perform some side effect whenever it changes.
use_navigate
Returns a function that lets you navigate programmatically in response to user interactions or effects.
use_params

Derive Macros§

IntoLayout
#[derive(IntoLayout)] is used to create a Layout with outlet.