pub struct Nucleus { /* private fields */ }
Expand description
The main Nucleus instance that manages the Nucleons
Implementations§
Source§impl Nucleus
impl Nucleus
Sourcepub fn new(config_file: &str, default_config: Option<NucleusConfig>) -> Self
pub fn new(config_file: &str, default_config: Option<NucleusConfig>) -> Self
Create a new Nucleus instance with the config file location and an optional default config.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nucleus
impl !RefUnwindSafe for Nucleus
impl Send for Nucleus
impl Sync for Nucleus
impl Unpin for Nucleus
impl !UnwindSafe for Nucleus
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