pub struct RouteTable<Msg> { /* private fields */ }Expand description
A route table mapping patterns to view-producing handlers.
Handlers receive the matched path params and return the UITree for that
route. The first registered route wins on ambiguity, so register more
specific routes before catch-alls.
Implementations§
Source§impl<Msg> RouteTable<Msg>
impl<Msg> RouteTable<Msg>
Trait Implementations§
Auto Trait Implementations§
impl<Msg> !RefUnwindSafe for RouteTable<Msg>
impl<Msg> !Send for RouteTable<Msg>
impl<Msg> !Sync for RouteTable<Msg>
impl<Msg> !UnwindSafe for RouteTable<Msg>
impl<Msg> Freeze for RouteTable<Msg>
impl<Msg> Unpin for RouteTable<Msg>
impl<Msg> UnsafeUnpin for RouteTable<Msg>
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