Skip to content

Implement {Arc, Rc}::downcast #1340

@apasel422

Description

@apasel422

I think this is possible to do safely, as it is essentially the inverse operation of CoerceUnsized. See an example implementation at https://github.com/apasel422/ref_count/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-libs-apiRelevant to the library API team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions