Skip to content

TryFromJs is not implemented for f32 #5360

Description

@mccolljr

I was writing some glue code for types that I need to share with a wgpu shader, and I noticed that The TryFromJs trait is missing for f32. It does exist for f64, so wasn't sure if this was an oversight or if I am missing something important about f32 values.

I searched for other reports of this and I didn't find anything, but if I missed something feel free to point me at it

Activity

  1. mccolljr commented on May 14, 2026

    @mccolljr
    Author

    If this is was indeed an oversight, I am happy to create a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions