pub struct KindCheck {
pub node: String,
pub declared: FuncKind,
pub call: String,
pub func: String,
pub input: Option<String>,
}Expand description
A declared-kind check the host should verify once the graph is built and port kinds are resolved. Produced per call site so kind errors can name the call instead of an expanded internal port.
Fields§
§node: StringNode id (in the expanded document) whose resolved output kind
must match declared.
declared: FuncKind§call: StringCall node id, for error messages.
func: StringFunction name, for error messages.
input: Option<String>Input name when this checks an argument; None for the
function’s own output kind.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KindCheck
impl RefUnwindSafe for KindCheck
impl Send for KindCheck
impl Sync for KindCheck
impl Unpin for KindCheck
impl UnsafeUnpin for KindCheck
impl UnwindSafe for KindCheck
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