Struct krates::DirectDependent
source · pub struct DirectDependent<'krates, N> {
pub krate: &'krates N,
pub node_id: NodeId,
pub edge_id: EdgeId,
}
Expand description
A crate that has a direct dependency on another 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 dependency
Auto Trait Implementations§
impl<'krates, N> Freeze for DirectDependent<'krates, N>
impl<'krates, N> RefUnwindSafe for DirectDependent<'krates, N>where
N: RefUnwindSafe,
impl<'krates, N> Send for DirectDependent<'krates, N>where
N: Sync,
impl<'krates, N> Sync for DirectDependent<'krates, N>where
N: Sync,
impl<'krates, N> Unpin for DirectDependent<'krates, N>
impl<'krates, N> UnwindSafe for DirectDependent<'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