Skip to content

Guarantee that pointers to NSObjects can be encoded #2

Description

@SSheldon

The EncodePtr trait used to exist for this, but it was removed in SSheldon/rust-objc#13.

This can be expressed with where clauses (where *mut Self: Encode, for <'a> &'a Self: Encode) but those bounds aren't propagated. This is blocked on rust-lang/rust#20671.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions