pub enum Module {
Path(RelativePathBuf),
Global(ItemStr),
}
Expand description
A module being imported.
Variants§
Path(RelativePathBuf)
A module imported from a specific path.
The path will be relativized according to the module specified in the Config::with_module_path.
Global(ItemStr)
A globally imported module.
Trait Implementations§
Source§impl Ord for Module
impl Ord for Module
Source§impl PartialOrd for Module
impl PartialOrd for Module
impl Eq for Module
impl StructuralPartialEq for Module
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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