#[wasm_bindgen] Rust struct to JsValue

Besides manually impplementing JsCast for Universe, is there anyway to cast this Universe to a JsValue ?

The XY problem here is: I don't want to call Universe::new(...) from the JS side. I want to pass a Universe as a JsValue to a JS callback function. Thus, I am looking for some way to coerce a Universe into a JsValue.