pub struct ParseRoot {
pub base_path: PathBuf,
}
Fields§
§base_path: PathBuf
Implementations§
Source§impl ParseRoot
impl ParseRoot
pub fn new(base_path: PathBuf) -> Self
pub fn parse( &self, module_path: &ModulePath, ) -> Result<ParseModule, ParseRootError>
Auto Trait Implementations§
impl Freeze for ParseRoot
impl RefUnwindSafe for ParseRoot
impl Send for ParseRoot
impl Sync for ParseRoot
impl Unpin for ParseRoot
impl UnwindSafe for ParseRoot
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