Expand description
Used to uniquely identify a module
Variants
SourcePath(PathBuf)
SourceHash(u64)
RefHash(u64)
Trait Implementations
sourceimpl Debug for ModuleIdent
impl Debug for ModuleIdent
sourceimpl Display for ModuleIdent
impl Display for ModuleIdent
sourceimpl From<&'_ ModuleSource> for ModuleIdent
impl From<&'_ ModuleSource> for ModuleIdent
sourcefn from(source: &ModuleSource) -> Self
fn from(source: &ModuleSource) -> Self
Converts to this type from the input type.
sourceimpl From<Gc<GlobalEnv>> for ModuleIdent
impl From<Gc<GlobalEnv>> for ModuleIdent
sourceimpl Hash for ModuleIdent
impl Hash for ModuleIdent
sourceimpl PartialEq<ModuleIdent> for ModuleIdent
impl PartialEq<ModuleIdent> for ModuleIdent
sourcefn eq(&self, other: &ModuleIdent) -> bool
fn eq(&self, other: &ModuleIdent) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModuleIdent) -> bool
fn ne(&self, other: &ModuleIdent) -> bool
This method tests for !=
.
impl Eq for ModuleIdent
impl StructuralEq for ModuleIdent
impl StructuralPartialEq for ModuleIdent
Auto Trait Implementations
impl RefUnwindSafe for ModuleIdent
impl Send for ModuleIdent
impl Sync for ModuleIdent
impl Unpin for ModuleIdent
impl UnwindSafe for ModuleIdent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more