Files
linux/rust/kernel
Alexandre Courbot 85f8e98dbb rust: alloc: allow coercion from Box<T> to Box<dyn U> if T implements U
This enables the creation of trait objects backed by a Box, similarly to
what can be done with the standard library.

Suggested-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Benno Lossin <benno.lossin@proton.me>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250412-box_trait_objs-v3-1-f67ced62d520@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
2025-04-22 17:29:37 +02:00
..
2025-03-10 15:12:17 +01:00
2025-03-16 21:59:19 +01:00
2025-02-22 15:44:19 +01:00
2025-03-16 21:59:19 +01:00
2024-12-20 17:21:04 +01:00
2024-10-08 15:44:36 +02:00
2025-03-16 21:59:19 +01:00
2024-12-20 17:19:26 +01:00
2024-11-04 16:21:44 -05:00
2025-03-16 21:59:19 +01:00