Skip to content

rustdoc: Show methods from the whole Deref/DerefMut chain instead of only one level #71640

Closed
@sdroege

Description

@sdroege

See for example https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer/message/struct.Message.html#deref-methods.

The type it derefs to also has another deref impl that would be useful to include here, see https://gstreamer.pages.freedesktop.org/gstreamer-rs/gstreamer/miniobject/struct.GstRc.html#impl-Deref .

In this case the expected result would be that the methods of both GstRc and MessageRef would be shown in the docs of Message.

CC @GuillaumeGomez @kinnison @rust-lang/rustdoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions