create example
This commit is contained in:
1 parent
d0d7e88a0d
commit
3678fa1d3f
6 files changed
+158
-79
No files matched your search
@@ -58,7 +58,10 @@ pub struct RouterConfiguration<R: Routable> {
|
||||
pub on_update: Option<RoutingCallback<R>>,
|
||||
}
|
||||
|
||||
impl<R: Routable + Clone> Default for RouterConfiguration<R> {
|
||||
impl<R: Routable + Clone> Default for RouterConfiguration<R>
|
||||
where
|
||||
<R as std::str::FromStr>::Err: std::fmt::Display,
|
||||
{
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
failure_external_navigation: FailureExternalNavigation::<R>,
|
||||
|
||||
Reference in new issue
Block a user