pub enum DependencyNode<'a> {
Self_,
Child(&'a str, Option<&'a str>),
Collection(&'a str),
Environment(&'a str),
Capability(&'a str),
}
Expand description
A node in the DependencyGraph. The first string describes the type of node and the second string is the name of the node.
Variants§
Trait Implementations§
Source§impl<'a> Clone for DependencyNode<'a>
impl<'a> Clone for DependencyNode<'a>
Source§fn clone(&self) -> DependencyNode<'a>
fn clone(&self) -> DependencyNode<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for DependencyNode<'a>
impl<'a> Debug for DependencyNode<'a>
Source§impl<'a> Display for DependencyNode<'a>
impl<'a> Display for DependencyNode<'a>
Source§impl<'a> Hash for DependencyNode<'a>
impl<'a> Hash for DependencyNode<'a>
Source§impl<'a> Ord for DependencyNode<'a>
impl<'a> Ord for DependencyNode<'a>
Source§fn cmp(&self, other: &DependencyNode<'a>) -> Ordering
fn cmp(&self, other: &DependencyNode<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for DependencyNode<'a>
impl<'a> PartialEq for DependencyNode<'a>
Source§impl<'a> PartialOrd for DependencyNode<'a>
impl<'a> PartialOrd for DependencyNode<'a>
impl<'a> Copy for DependencyNode<'a>
impl<'a> Eq for DependencyNode<'a>
impl<'a> StructuralPartialEq for DependencyNode<'a>
Auto Trait Implementations§
impl<'a> Freeze for DependencyNode<'a>
impl<'a> RefUnwindSafe for DependencyNode<'a>
impl<'a> Send for DependencyNode<'a>
impl<'a> Sync for DependencyNode<'a>
impl<'a> Unpin for DependencyNode<'a>
impl<'a> UnwindSafe for DependencyNode<'a>
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