Skip to main content

assembly_infer_constraints_json

Function assembly_infer_constraints_json 

Source
pub fn assembly_infer_constraints_json(options_json: &str) -> String
Expand description

SCAN the live scene for constraints its component placement implies, without creating anything. options_json is [super::infer::InferOptions] ({} for the defaults). Never Err: a missing session or a bad options object comes back as {ok: false, error} — a JsValue error aborts a native build.