Skip to content

Use a more trait-oriented design #228

Closed
@workingjubilee

Description

@workingjubilee

We have coalesced consensus around a more direct application of using traits for the type-argument-specific functions on std::simd::Simd and finding other ways to resolve the too-many-imports problem, at least for now. While it is inconvenient to have to import such traits, "making imports more manageable" is something that should probably be addressed at a slightly higher design level than within this library's types (since it's of relevance to all of Rust).

( Obviously, if people really want these traits in scope always, they can nominate them for the prelude as-is, though a solution that is less dependent on "being std", like inherent traits, would be nice. )

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: a feature request, i.e. not implemented / a PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions