Benno Lossin
619db96daf
rust: pin-init: add pin projections to #[pin_data]
...
Make the `#[pin_data]` macro generate a `*Projection` struct that holds
either `Pin<&mut Field>` or `&mut Field` for every field of the original
struct. Which version is chosen depends on weather there is a `#[pin]`
or not respectively. Access to this projected version is enabled through
generating `fn project(self: Pin<&mut Self>) -> SelfProjection<'_>`.
[ Adapt workqueue to use the new projection instead of its own, custom
one - Benno ]
Reviewed-by: Gary Guo <gary@garyguo.net >
Reviewed-by: Boqun Feng <boqun.feng@gmail.com >
Signed-off-by: Benno Lossin <lossin@kernel.org >
2025-09-11 23:26:20 +02:00
..
2025-07-15 23:42:55 +02:00
2025-07-13 23:05:14 +02:00
2025-06-25 18:10:12 +02:00
2025-08-03 13:49:10 -07:00
2025-06-22 23:09:32 +02:00
2025-07-22 11:08:59 +02:00
2025-07-20 19:29:19 +02:00
2025-06-22 23:09:17 +02:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-07-17 00:55:35 +02:00
2025-07-23 02:05:58 +02:00
2025-07-16 23:38:21 +02:00
2025-05-25 22:58:35 +02:00
2025-07-16 23:38:21 +02:00
2025-07-19 23:18:18 +02:00
2024-06-14 07:45:04 -06:00
2025-07-23 02:05:58 +02:00
2025-01-10 00:19:09 +01:00
2025-08-03 13:49:10 -07:00
2025-07-15 22:26:11 +02:00
2025-07-16 23:37:49 +02:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-03-04 17:07:49 -05:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-07-16 23:38:21 +02:00
2025-08-03 13:49:10 -07:00
2025-07-16 23:37:49 +02:00
2025-08-03 13:49:10 -07:00
2025-07-21 01:16:35 +02:00
2024-09-30 13:02:28 +02:00
2025-07-23 02:05:58 +02:00
2024-11-20 13:32:42 -05:00
2025-07-23 02:05:58 +02:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2024-10-07 21:39:57 +02:00
2024-11-20 13:32:42 -05:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-07-19 23:18:18 +02:00
2025-08-03 13:49:10 -07:00
2025-05-31 22:46:12 -07:00
2023-12-15 09:35:50 +00:00
2025-08-03 13:49:10 -07:00
2025-08-03 13:49:10 -07:00
2025-05-12 00:20:25 +02:00
2025-08-03 13:49:10 -07:00
2024-10-08 15:44:36 +02:00
2025-08-03 13:49:10 -07:00
2025-07-21 01:15:51 +02:00
2025-07-21 01:16:35 +02:00
2025-07-14 23:53:35 +02:00
2025-07-15 15:07:40 +01:00
2025-08-03 13:49:10 -07:00
2025-03-04 15:44:46 -05:00
2025-06-22 23:08:42 +02:00
2025-06-23 18:12:30 +02:00
2025-05-23 00:12:14 +02:00
2025-05-12 00:20:25 +02:00
2025-07-21 01:16:36 +02:00
2025-07-22 13:52:14 +02:00
2025-06-24 15:53:50 -07:00
2025-06-30 13:22:05 +02:00
2024-11-04 16:21:44 -05:00
2024-10-10 00:33:42 +02:00
2025-08-03 13:49:10 -07:00
2025-07-14 23:52:45 +02:00
2025-09-11 23:26:20 +02:00
2025-07-14 23:55:24 +02:00