1 | // This file was generated by gir (https://github.com/gtk-rs/gir) |
2 | // from gir-files (https://github.com/gtk-rs/gir-files) |
3 | // from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git) |
4 | // DO NOT EDIT |
5 | |
6 | use crate::{Object, PluginFeature}; |
7 | use glib::translate::*; |
8 | |
9 | glib::wrapper! { |
10 | #[doc (alias = "GstTracerFactory" )] |
11 | pub struct TracerFactory(Object<ffi::GstTracerFactory, ffi::GstTracerFactoryClass>) @extends PluginFeature, Object; |
12 | |
13 | match fn { |
14 | type_ => || ffi::gst_tracer_factory_get_type(), |
15 | } |
16 | } |
17 | |
18 | impl TracerFactory { |
19 | #[doc (alias = "gst_tracer_factory_get_tracer_type" )] |
20 | #[doc (alias = "get_tracer_type" )] |
21 | pub fn tracer_type(&self) -> glib::types::Type { |
22 | unsafe { |
23 | from_glib(val:ffi::gst_tracer_factory_get_tracer_type( |
24 | self.to_glib_none().0, |
25 | )) |
26 | } |
27 | } |
28 | } |
29 | |
30 | unsafe impl Send for TracerFactory {} |
31 | unsafe impl Sync for TracerFactory {} |
32 | |