Hello, i'm trying to pass an object created by any rust library in general (rust_xlsxwriter specifically)
is that possible, there is no code to show because i want a general solution.
You'd have to encode the object into something that Javascipt recognizes; I would go with JSON myself. Use serde to make the rust object a JSON object. Then either write it to a file and pass the file to Javascript or pass it as a parameter to the program.