pub struct GraphNode {
pub name: Arc<str>,
pub kind: NodeKind,
pub tier: Tier,
pub effects: Vec<Effect>,
pub because: String,
pub span: Span,
}Fields§
§name: Arc<str>§kind: NodeKind§tier: TierWhere each definition runs. Tier::Any for a resource, which is not placed but derived.
effects: Vec<Effect>§because: StringFor a resource, the sentence beck-infra wrote saying which effect implied it. Empty for
program definitions, whose reason for existing is that someone wrote them.
span: SpanThe declaration site, so the dashboard can link a resource to the line that caused it.
Trait Implementations§
impl Eq for GraphNode
impl StructuralPartialEq for GraphNode
Auto Trait Implementations§
impl Freeze for GraphNode
impl RefUnwindSafe for GraphNode
impl Send for GraphNode
impl Sync for GraphNode
impl Unpin for GraphNode
impl UnwindSafe for GraphNode
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