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.