#[unsafe(no_mangle)]pub unsafe extern "C" fn copperlace_ruleset_render_inferred(
handle: *const CopperlaceRuleSet,
rule: *const c_char,
out_string: *mut *mut c_char,
out_error: *mut *mut c_char,
) -> c_intExpand description
Renders a named rule, inferring formatted structured JSON for object-valued rules.
String-valued and list-valued rules use existing text rendering. Object-valued rules return formatted JSON using tab indentation.
ยงSafety
handle must be a live ruleset handle returned by Copperlace. rule must
point to a valid NUL-terminated UTF-8 string. out_string and out_error
must be valid for writing when non-null. Any returned output or error string
must be released with copperlace_string_free.