pub struct Node {Show 16 fields
pub id: NodeId,
pub kind: Kind,
pub glyph: &'static str,
pub tone: Tone,
pub weight: Weight,
pub name: String,
pub marks: String,
pub text: Vec<Segment>,
pub right: String,
pub tally: Option<Tally>,
pub compact: String,
pub changed: bool,
pub upstream: Vec<Upstream>,
pub parts: Vec<ArtifactName>,
pub clock: Option<Clock>,
pub children: Vec<Node>,
/* private fields */
}Fields§
§id: NodeIdStable tree identifier: a:<artifact> or e:<eval>.
kind: Kind§glyph: &'static str§tone: Tone§weight: Weight§name: String§marks: StringDim markers after the name: ↻ peer, [file].
text: Vec<Segment>§right: StringRight column: elapsed time for evals, passed/total for Artifacts.
tally: Option<Tally>Artifact rows with evals: how many of them pass, of how many (the right column).
compact: StringRight column of the compact tree: elapsed time, ←X/←N, or passed/total.
changed: boolThe state changed after the Run ended (rendered as a dim *).
upstream: Vec<Upstream>Eval rows: every dependency Artifact, unmet ones first in X order.
parts: Vec<ArtifactName>Artifact rows: the Artifacts it is made of directly, by name.
clock: Option<Clock>Timed eval rows, so a cached tree can redraw its elapsed times.
children: Vec<Node>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Node
impl Freeze for Nodewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ArtifactName>: Freeze,
&'static str: Freeze,
PhantomData<Segment>: Freeze,
PhantomData<Upstream>: Freeze,
NonZero<i32>: Freeze,
PhantomData<Node>: Freeze,
impl Move for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Nodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ArtifactName>: UnsafeUnpin,
&'static str: UnsafeUnpin,
PhantomData<Segment>: UnsafeUnpin,
PhantomData<Upstream>: UnsafeUnpin,
NonZeroI32Inner: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
impl UnwindSafe for Node
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