From 4b2f0a936b93922d70edfe7ed401ffd97e915ef0 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 15 Sep 2021 20:12:03 +0200 Subject: [PATCH] Derive PartialOrd, Ord and Hash for PadProbeId --- 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 59a6f239c..3299b5df4 100644 --- a/gstreamer/src/pad.rs +++ b/gstreamer/src/pad.rs @@ -28,7 +28,7 @@ use glib::ffi::gpointer; use glib::prelude::*; use glib::translate::*; -#[derive(Debug, PartialEq, Eq)] +#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct PadProbeId(NonZeroU64); impl IntoGlib for PadProbeId {