pub struct ModuleContext {
pub module_id: String,
pub base_dir: Option<PathBuf>,
}Fields§
§module_id: String§base_dir: Option<PathBuf>Trait Implementations§
Source§impl Clone for ModuleContext
impl Clone for ModuleContext
Source§fn clone(&self) -> ModuleContext
fn clone(&self) -> ModuleContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleContext
impl RefUnwindSafe for ModuleContext
impl Send for ModuleContext
impl Sync for ModuleContext
impl Unpin for ModuleContext
impl UnwindSafe for ModuleContext
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