pub struct ModuleInput<'a> {
pub path: Vec<String>,
pub role: Role,
pub file: FileId,
pub ast: &'a File,
}Expand description
One parsed module given to the resolver.
Fields§
§path: Vec<String>The module path derived from the file path.
role: RoleWhat the module is for.
file: FileIdThe source file.
ast: &'a FileThe syntax tree.
Auto Trait Implementations§
impl<'a> Freeze for ModuleInput<'a>
impl<'a> RefUnwindSafe for ModuleInput<'a>
impl<'a> Send for ModuleInput<'a>
impl<'a> Sync for ModuleInput<'a>
impl<'a> Unpin for ModuleInput<'a>
impl<'a> UnsafeUnpin for ModuleInput<'a>
impl<'a> UnwindSafe for ModuleInput<'a>
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