gstreamer_webrtc/auto/
web_rtc_session_description.rs

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
6use crate::ffi;
7use glib::translate::*;
8
9glib::wrapper! {
10    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
11    pub struct WebRTCSessionDescription(Boxed<ffi::GstWebRTCSessionDescription>);
12
13    match fn {
14        copy => |ptr| ffi::gst_webrtc_session_description_copy(ptr),
15        free => |ptr| ffi::gst_webrtc_session_description_free(ptr),
16        type_ => || ffi::gst_webrtc_session_description_get_type(),
17    }
18}
19
20unsafe impl Send for WebRTCSessionDescription {}
21unsafe impl Sync for WebRTCSessionDescription {}