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

Fill in Adapter::as_hal and Device::as_hal documentation. #2992

Merged
merged 1 commit into from
Sep 3, 2022

Conversation

jimblandy
Copy link
Member

@jimblandy jimblandy commented Aug 27, 2022

In particular, explain why a callback is needed, rather than just
having these functions return an Option<&A::Mumble>.

Checklist

  • Run cargo clippy.
  • Run RUSTFLAGS=--cfg=web_sys_unstable_apis cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

In particular, explain why a callback is needed, rather than just
having these functions return an `Option<&A::Mumble>`.
@jimblandy jimblandy merged commit 90eb399 into gfx-rs:master Sep 3, 2022
@jimblandy jimblandy deleted the doc-as-hal-callback branch September 3, 2022 03:56
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