Skip to main content

slot_extract_content

Function slot_extract_content 

Source
pub fn slot_extract_content(
    bits: u64,
    kind: NativeKind,
) -> (Option<Value>, Option<String>, Option<String>)
Expand description

If the slot carries a renderable Content shape (Content node, DataTable, or TableView), return (content_json, content_html, content_terminal). Otherwise all three are None.

W18.2 (R8 — output-adapter integration): the kind-threaded content dispatch is rebuilt on top of the surviving 6-renderer infrastructure (TERMINAL / HTML / MARKDOWN / JSON / PLAIN). Slot bits are dispatched per HeapKind, the underlying typed payload is materialised as a ContentNode, and each renderer projects the node into its own output shape:

Pre-rebuild this function returned (None, None, None) for every Content-bearing slot per the Phase 1.B placeholder — that scar is resolved here.