wrend/uniforms/
uniform_create_update_callback_js.rs1use js_sys::Function;
2use wasm_bindgen::prelude::wasm_bindgen;
3
4#[wasm_bindgen(typescript_custom_section)]
5const UNIFORM_CREATE_UPDATE_CALLBACK_JS: &'static str = r#"
6type UniformCreateUpdateCallbackJs = (ctx: UniformContext) => void;
7"#;
8
9#[wasm_bindgen]
10extern "C" {
11 #[wasm_bindgen(extends = Function, is_type_of = JsValue::is_function, typescript_type = "UniformCreateUpdateCallbackJs")]
12 #[derive(Clone, Debug, PartialEq, Eq)]
13 pub type UniformCreateUpdateCallbackJs;
14}