Skip to content

Make VertexFormat::size() a const fn when rust 1.46 drops #836

@bootra-dev

Description

@bootra-dev

Original issue: #801

When I implemented #802 I did not consider that the vertex_attr_array macro could not longer be used in a const environment. Rust 1.46 will allow match in const functions, so this can be resolved then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions