Struct monocle::MonocleConfig
source · pub struct MonocleConfig {
pub data_dir: String,
}Fields§
§data_dir: Stringpath to the directory to hold Monocle’s data
Implementations§
source§impl MonocleConfig
impl MonocleConfig
sourcepub fn new(path: &Option<String>) -> MonocleConfig
pub fn new(path: &Option<String>) -> MonocleConfig
function to create and initialize a new configuration
Auto Trait Implementations§
impl RefUnwindSafe for MonocleConfig
impl Send for MonocleConfig
impl Sync for MonocleConfig
impl Unpin for MonocleConfig
impl UnwindSafe for MonocleConfig
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