pub struct Dominator {
pub node: String,
pub label: String,
pub state: Option<FindingState>,
pub weight: usize,
pub single_point_of_failure: bool,
}Expand description
A load-bearing dependency of a claim (GPT §11): a node every (or much) of
the claim’s support funnels through. weight is how many support nodes
vanish if it is removed; single_point_of_failure is true when that is the
claim’s entire support.
Fields§
§node: String§label: String§state: Option<FindingState>The dominator’s own finding state, when it is a finding in this graph.
weight: usize§single_point_of_failure: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Dominator
impl RefUnwindSafe for Dominator
impl Send for Dominator
impl Sync for Dominator
impl Unpin for Dominator
impl UnsafeUnpin for Dominator
impl UnwindSafe for Dominator
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