From 59ddb8d692cdf827d5faf3a8f2ae210f4dd4322a Mon Sep 17 00:00:00 2001 From: Nickiel12 <35903114+Nickiel12@users.noreply.github.com> Date: Wed, 24 Apr 2024 21:30:32 -0700 Subject: [PATCH] added derive clone --- src/ui/gstreamer_pipeline.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/gstreamer_pipeline.rs b/src/ui/gstreamer_pipeline.rs index d7eb52b..c492df4 100644 --- a/src/ui/gstreamer_pipeline.rs +++ b/src/ui/gstreamer_pipeline.rs @@ -1,6 +1,7 @@ use gstreamer::prelude::{ElementExt, ElementExtManual, GstBinExtManual, PadExt}; use gstreamer::{Element, ElementFactory, Pipeline, State}; +#[derive(Clone)] pub struct WebcamPipeline { pub pipeline: Pipeline,