Re: [PATCH v2 03/25] rust: device: generalize drvdata methods over ForLt

From: Alice Ryhl

Date: Thu May 07 2026 - 08:54:21 EST


On Wed, May 06, 2026 at 11:50:39PM +0200, Danilo Krummrich wrote:
> - /// The type of the driver's device private data.
> - type DriverData;
> + /// The [`ForLt`](trait@ForLt) encoding of the driver's device private data type.
> + type DriverData: ForLt;

Associated types support ForLt natively.

type DriverData<'bound>;

Alice