Skip to content

num-traits feature on primitive-types could use a FromPrimitive impl #797

Description

@sam0x17

Types like U256 could easily impl https://docs.rs/num-traits/latest/num_traits/cast/trait.FromPrimitive.html when the num-traits feature is enabled. Happy to submit a PR adding this if you agree it would be desirable.

Activity

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