Skip to content

Comments

Added documentation for methods on shared types#1081

Open
paandahl wants to merge 1 commit intodtolnay:masterfrom
paandahl:document-shared-methods
Open

Added documentation for methods on shared types#1081
paandahl wants to merge 1 commit intodtolnay:masterfrom
paandahl:document-shared-methods

Conversation

@paandahl
Copy link
Contributor

I only realized methods on shared types were possible by looking through the source code, so I thought it would be a good idea to add some documentation.

I added two sections with code snippets to the "Shared types" page:

  • Methods defined in Rust
  • Methods defined in C++

@ttzytt
Copy link

ttzytt commented Jul 18, 2024

I'm new to the project and also looking for this. It would be really helpful if it is in the doc.

@ttzytt
Copy link

ttzytt commented Jul 18, 2024

Wondering if it is possible to have methods implementing traits on shared types.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants