added derive clone

This commit is contained in:
Nickiel12 2024-04-24 21:30:32 -07:00
parent dedae02afc
commit 59ddb8d692

View file

@ -1,6 +1,7 @@
use gstreamer::prelude::{ElementExt, ElementExtManual, GstBinExtManual, PadExt}; use gstreamer::prelude::{ElementExt, ElementExtManual, GstBinExtManual, PadExt};
use gstreamer::{Element, ElementFactory, Pipeline, State}; use gstreamer::{Element, ElementFactory, Pipeline, State};
#[derive(Clone)]
pub struct WebcamPipeline { pub struct WebcamPipeline {
pub pipeline: Pipeline, pub pipeline: Pipeline,