From d1394a3f52f8fb23aa3c4fe3153086a861b7f041 Mon Sep 17 00:00:00 2001 From: Amanda Graven Date: Fri, 24 Sep 2021 18:46:50 +0200 Subject: [PATCH] Derive Clone for SinkInfo and SinkPortInfo --- pulse-binding/src/context/introspect.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pulse-binding/src/context/introspect.rs b/pulse-binding/src/context/introspect.rs index 15711880..19a37893 100644 --- a/pulse-binding/src/context/introspect.rs +++ b/pulse-binding/src/context/introspect.rs @@ -261,7 +261,7 @@ impl Drop for Introspector { /// /// Please note that this structure can be extended as part of evolutionary API updates at any time /// in any new release. -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct SinkPortInfo<'a> { /// Name of this port. pub name: Option>, @@ -333,7 +333,7 @@ impl<'a> SinkPortInfo<'a> { /// /// Please note that this structure can be extended as part of evolutionary API updates at any time /// in any new release. -#[derive(Debug)] +#[derive(Clone, Debug)] pub struct SinkInfo<'a> { /// Name of the sink. pub name: Option>,