rust: alloc: layout: implement ArrayLayout::size()
Provide a convenience method for ArrayLayout to calculate the size of the ArrayLayout in bytes. Reviewed-by:Alexandre Courbot <acourbot@nvidia.com> Tested-by:
Alexandre Courbot <acourbot@nvidia.com> Reviewed-by:
Alice Ryhl <aliceryhl@google.com> Reviewed-by:
Abdiel Janulgue <abdiel.janulgue@gmail.com> Link: https://lore.kernel.org/r/20250820145434.94745-7-dakr@kernel.org Signed-off-by:
Danilo Krummrich <dakr@kernel.org>
Loading
Please sign in to comment