pub struct ModuleEntry {
pub type_id: TypeId,
pub name: &'static str,
pub dependencies: Vec<(&'static str, TypeId)>,
}Expand description
A node in the dependency graph.
Fields§
§type_id: TypeIdThe module’s TypeId.
name: &'static strThe module’s diagnostic name.
dependencies: Vec<(&'static str, TypeId)>(name, TypeId) pairs of modules this module depends on.
Trait Implementations§
Source§impl Clone for ModuleEntry
impl Clone for ModuleEntry
Source§fn clone(&self) -> ModuleEntry
fn clone(&self) -> ModuleEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModuleEntry
impl RefUnwindSafe for ModuleEntry
impl Send for ModuleEntry
impl Sync for ModuleEntry
impl Unpin for ModuleEntry
impl UnsafeUnpin for ModuleEntry
impl UnwindSafe for ModuleEntry
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