rider/src/config/mod.rs

19 lines
407 B
Rust
Raw Normal View History

use std::sync::{Arc, RwLock};
2019-01-03 15:19:56 +01:00
pub mod config;
pub(crate) mod creator;
2019-01-03 15:19:56 +01:00
pub mod directories;
pub mod editor_config;
pub mod scroll_config;
2019-01-03 15:19:56 +01:00
pub use crate::config::config::*;
pub use crate::config::directories::*;
pub use crate::config::editor_config::*;
pub use crate::config::scroll_config::*;
pub type ConfigAccess = Arc<RwLock<Config>>;
pub trait ConfigHolder {
fn config(&self) -> &ConfigAccess;
2019-01-03 15:19:56 +01:00
}