yew_router_nested::router

Trait RouterState

Source
pub trait RouterState: RouteState + PartialEq { }
Expand description

Any state that can be managed by the Router must meet the criteria of this trait.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<STATE> RouterState for STATE
where STATE: RouteState + PartialEq,