pub enum ModuleIdent {
SourcePath(PathBuf),
SourceHash(u64),
RefHash(u64),
}
Expand description
Used to uniquely identify a module
Variants§
Trait Implementations§
Source§impl Debug for ModuleIdent
impl Debug for ModuleIdent
Source§impl Display for ModuleIdent
impl Display for ModuleIdent
Source§impl From<&ModuleSource> for ModuleIdent
impl From<&ModuleSource> for ModuleIdent
Source§fn from(source: &ModuleSource) -> Self
fn from(source: &ModuleSource) -> Self
Converts to this type from the input type.
Source§impl From<Gc<NamespaceEnv>> for ModuleIdent
impl From<Gc<NamespaceEnv>> for ModuleIdent
Source§fn from(env: Gc<NamespaceEnv>) -> Self
fn from(env: Gc<NamespaceEnv>) -> Self
Converts to this type from the input type.
Source§impl Hash for ModuleIdent
impl Hash for ModuleIdent
Source§impl PartialEq for ModuleIdent
impl PartialEq for ModuleIdent
impl Eq for ModuleIdent
impl StructuralPartialEq for ModuleIdent
Auto Trait Implementations§
impl Freeze for ModuleIdent
impl RefUnwindSafe for ModuleIdent
impl Send for ModuleIdent
impl Sync for ModuleIdent
impl Unpin for ModuleIdent
impl UnwindSafe for ModuleIdent
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