Struct krates::DirectDependency
source · pub struct DirectDependency<'krates, N> {
pub krate: &'krates N,
pub node_id: NodeId,
pub edge_id: EdgeId,
}
Expand description
A direct dependency of a crate
Fields§
§krate: &'krates N
The crate in the node
node_id: NodeId
The crate’s node id
edge_id: EdgeId
The edge that links the crate with the crate that depends on it
Auto Trait Implementations§
impl<'krates, N> Freeze for DirectDependency<'krates, N>
impl<'krates, N> RefUnwindSafe for DirectDependency<'krates, N>where
N: RefUnwindSafe,
impl<'krates, N> Send for DirectDependency<'krates, N>where
N: Sync,
impl<'krates, N> Sync for DirectDependency<'krates, N>where
N: Sync,
impl<'krates, N> Unpin for DirectDependency<'krates, N>
impl<'krates, N> UnwindSafe for DirectDependency<'krates, N>where
N: RefUnwindSafe,
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