Skip to content

Implement From<E> for u32 when E is #[repr(u32)] enum E #2596

Open
@Ekleog

Description

@Ekleog

I think everything is in the title. I was very surprised to see that appears not to be already done, so I guess I'm missing something.

Should this go through the RFC process or just get implemented directly as an obvious thing, given eg. u32: From<u16>?

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