pub enum NodeKind {
Definition,
Import(String),
Instantiation(HashSet<usize>),
Alias,
}
Expand description
Represents the kind of a node in a composition graph.
Variants§
Definition
The node is a type definition.
Import(String)
The node is an import of an item.
The string is the import name.
Instantiation(HashSet<usize>)
The node is an instantiation of a package.
The set is the currently satisfied argument indexes.
Alias
The node is an alias of an export of an instance.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnwindSafe for NodeKind
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