Skip to content

Search should "follow" trait generics for parameter and return tabs #266

Closed
@akatechis

Description

@akatechis

If I search the name of a trait, it would be nice to see matches for parameter and return tabs for functions that include that trait as a trait bound.

In the screenshot below, State is a trait of the kiss3d crate, and the render_with_state shown has <S: State> trait bounds on it, so it would be nice to see that function under the "In parameters" tab as well. Ditto for functions where the trait object is returned.

image

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