From 8caf88810c6429278aa847aef0533fc082fa1140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 9 Sep 2017 00:45:45 +0300 Subject: [PATCH] Don't implement Clone/Copy for PadProbeId It's only possible to use it at most once. --- gstreamer/src/pad.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer/src/pad.rs b/gstreamer/src/pad.rs index 0f333780f..de283eda3 100644 --- a/gstreamer/src/pad.rs +++ b/gstreamer/src/pad.rs @@ -31,7 +31,7 @@ use libc; use ffi; -#[derive(Copy, Clone, Debug, Default, PartialEq, Eq)] +#[derive(Debug, Default, PartialEq, Eq)] pub struct PadProbeId(libc::c_ulong); pub const PAD_PROBE_ID_INVALID: PadProbeId = PadProbeId(0);