diff options
| author | Gary Guo <gary@garyguo.net> | 2026-05-02 22:40:15 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2026-10-11 11:06:47 +0100 |
| commit | e55acb73379fc2a5164c741bb1257becd346bc39 (patch) | |
| tree | 4dad4b2c84876f38a23d6ea0190473d0ca1628d7 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 91a255fea7306c5b07f6b26d740be31fdc8bfa41 (diff) | |
rust: pin-init: internal: pin_data: complete invariant borrow support
Non-covariant types can already be accessed inside projections. As
projections are only generated for `Pin<&mut T>`, they're not accessible
otherwise. Add `with_{field_name}` methods so fields can be accessed using
closures with just `&T`.
Acked-by: Benno Lossin <lossin@kernel.org>
Link: https://patch.msgid.link/20261008-dev-selfref-v2-17-e280b3c8fba5@garyguo.net/
Signed-off-by: Gary Guo <gary@garyguo.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
