diff options
author | Christian Schrefl <chrisi.schrefl@gmail.com> | 2025-04-21 22:17:59 +0000 |
---|---|---|
committer | Benno Lossin <benno.lossin@proton.me> | 2025-05-01 18:10:54 +0200 |
commit | 2f7c73825f8f435ebdfb2cfa3b01cfa2b1c79041 (patch) | |
tree | 2bf14c1f061dfefc6061078e4ed1a8d24a1037a3 /scripts/generate_rust_analyzer.py | |
parent | 90348980a305cc24a067cc6e606e1c318e277930 (diff) |
rust: pin-init: Add the `Wrapper` trait.
This trait allows creating `PinInitializers` for wrapper or new-type
structs with the inner value structurally pinned, when given the
initializer for the inner value.
Implement this trait for `UnsafeCell` and `MaybeUninit`.
Signed-off-by: Christian Schrefl <chrisi.schrefl@gmail.com>
Link: https://github.com/Rust-for-Linux/pin-init/pull/37/commits/3ab4db083bd7b41a1bc23d937224f975d7400e50
[ Reworded commit message into imperative mode, fixed typo and fixed
commit authorship. - Benno ]
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions