Skip to main content

FIELD_REF_PREFIX

Constant FIELD_REF_PREFIX 

Source
pub const FIELD_REF_PREFIX: &str = "field:";
Expand description

Prefix for a field’s type stored on a struct node: field:draft:Draft.

The type is the one a method call on the field reaches, with references, smart pointers, locks and containers already stripped (Mutex<Draft> and Option<Box<Draft>> both record Draft). The graph builder follows these to resolve state.draft.run_started() when state’s struct lives in another file.