[core] codegen: Add derive(Copy, Clone) to TypedArrayLikeAdapter

This commit is contained in:
David Mak 2025-01-03 13:58:46 +08:00
parent 1ffe2fcc7f
commit 805a9d23b3

View File

@ -208,6 +208,7 @@ pub trait TypedArrayLikeMutator<'ctx, G: CodeGenerator + ?Sized, T, Index = IntV
} }
/// An adapter for constraining untyped array values as typed values. /// An adapter for constraining untyped array values as typed values.
#[derive(Copy, Clone)]
pub struct TypedArrayLikeAdapter< pub struct TypedArrayLikeAdapter<
'ctx, 'ctx,
G: CodeGenerator + ?Sized, G: CodeGenerator + ?Sized,