Skip to content

Feature request: Typed array types #315

@eye-wave

Description

@eye-wave

Is your feature request related to a problem? Please describe.
It would be to have Integer of Float Vectors be converted to typed arrays.

example

Vec<f32> -> Float32Array
Vec<u8> -> Uint8Array
Vec<i32> -> Int32Array 

Describe alternatives you've considered
Tsify, but it only works with wasm-bindgen which i don't need for a tauri app

adding #[ts(type = "MyArray")] for each problematic property

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions