Skip to main content

wasm_record

Function wasm_record 

Source
pub(crate) fn wasm_record(attr: TokenStream, item: TokenStream) -> TokenStream
Expand description

Declares a serde DTO: derives Tsify under the wasm feature and implements the wire traits so the type crosses as Ts<Self>, only from JavaScript with input.