pub struct ModuleRef(pub StringRef);
Expand description
Named reference to a Module
.
The name stored in the StringTable
corresponds to the name of the module
as returned by Module::module_name
.
Tuple Fields§
§0: StringRef
Trait Implementations§
Source§impl Ord for ModuleRef
impl Ord for ModuleRef
Source§impl PartialOrd for ModuleRef
impl PartialOrd for ModuleRef
impl Copy for ModuleRef
impl Eq for ModuleRef
impl StructuralPartialEq for ModuleRef
Auto Trait Implementations§
impl Freeze for ModuleRef
impl RefUnwindSafe for ModuleRef
impl Send for ModuleRef
impl Sync for ModuleRef
impl Unpin for ModuleRef
impl UnwindSafe for ModuleRef
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