pub struct GraphNode {
pub id: NodeId,
pub name: ArtifactName,
pub light: Light,
pub tally: Option<Tally>,
pub parts: Vec<ArtifactName>,
}Fields§
§id: NodeIdThe Artifact row’s tree id, a:<artifact>.
name: ArtifactName§light: Light§tally: Option<Tally>How many of its evals are GREEN, of how many; None without evals of its own.
parts: Vec<ArtifactName>The Artifacts of the graph it is made of directly, by name.
Trait Implementations§
impl Eq for GraphNode
impl StructuralPartialEq for GraphNode
Auto Trait Implementations§
impl Forget for GraphNode
impl Freeze for GraphNode
impl Move for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNodewhere
RawVecInner: Send,
impl Sync for GraphNodewhere
RawVecInner: Sync,
impl Unpin for GraphNode
impl UnsafeUnpin for GraphNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ArtifactName>: UnsafeUnpin,
impl UnwindSafe for GraphNodewhere
RawVecInner: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.