Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

impl Blocks and Static Methods #1102

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Sep 27, 2022

  1. Support impl syntax in extern blocks

    This syntax allows methods in the bridge block to be grouped together by
    type and use implicitly typed receivers (e.g. `&self`, `&mut self`, or
    `self`) even when multiple types are declared in the same bridge.
    maurer committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    a15f6da View commit details
    Browse the repository at this point in the history
  2. Support static and associated methods

    Support binding to static methods (C++) and associated methods (Rust) by
    using `impl` blocks to indicate which type it belongs to.
    maurer committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    d477638 View commit details
    Browse the repository at this point in the history