From 7a36bd27906ec21f8fb0decf7a0907ec79058934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 23 Mar 2025 11:03:24 +0200 Subject: [PATCH] allocator: Implement Copy on AllocationParams Part-of: --- gstreamer/src/allocation_params.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer/src/allocation_params.rs b/gstreamer/src/allocation_params.rs index 5d126ea93..df11c0f69 100644 --- a/gstreamer/src/allocation_params.rs +++ b/gstreamer/src/allocation_params.rs @@ -6,7 +6,7 @@ use glib::translate::*; use crate::{ffi, MemoryFlags}; -#[derive(Debug, Clone)] +#[derive(Debug, Clone, Copy)] #[doc(alias = "GstAllocationParams")] #[repr(transparent)] pub struct AllocationParams(ffi::GstAllocationParams);