auric-runtime 0.1.6

Runtime for the Ember-inspired Auric SPA framework
Documentation
1
2
3
4
5
6
7
8
9
use crate::routing::Route;
use std::sync::{Arc, Mutex};

#[derive(Clone)]
pub struct RouteDef {
    pub name: String,
    pub path: String,
    pub route: Arc<Mutex<dyn Route + Send + Sync>>,
}