pub struct NodeSpec<N, L> {
pub id: N,
pub location: L,
pub boundary: Boundary,
}Expand description
A node supplied to checked graph construction.
Fields§
§id: NStable node identity.
location: LConsumer-neutral source or artifact location.
boundary: BoundaryDeclared graph-boundary role.
Trait Implementations§
impl<N: Eq, L: Eq> Eq for NodeSpec<N, L>
Source§impl<N: Ord, L: Ord> Ord for NodeSpec<N, L>
impl<N: Ord, L: Ord> Ord for NodeSpec<N, L>
1.21.0 (const: unstable) · 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<N: PartialOrd, L: PartialOrd> PartialOrd for NodeSpec<N, L>
impl<N: PartialOrd, L: PartialOrd> PartialOrd for NodeSpec<N, L>
impl<N: PartialEq, L: PartialEq> StructuralPartialEq for NodeSpec<N, L>
Auto Trait Implementations§
impl<N, L> Freeze for NodeSpec<N, L>
impl<N, L> RefUnwindSafe for NodeSpec<N, L>where
N: RefUnwindSafe,
L: RefUnwindSafe,
impl<N, L> Send for NodeSpec<N, L>
impl<N, L> Sync for NodeSpec<N, L>
impl<N, L> Unpin for NodeSpec<N, L>
impl<N, L> UnsafeUnpin for NodeSpec<N, L>where
N: UnsafeUnpin,
L: UnsafeUnpin,
impl<N, L> UnwindSafe for NodeSpec<N, L>where
N: UnwindSafe,
L: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FingerprintValue for Twhere
T: Hash,
impl<T> FingerprintValue for Twhere
T: Hash,
Source§fn incremental_fingerprint(&self) -> ValueFingerprint
fn incremental_fingerprint(&self) -> ValueFingerprint
Returns a compact value identity for incremental cutoff.