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    /// See <https://www.w3.org/TR/webrtc/`rtcsessiondescription`-class>
11    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
12    pub struct WebRTCSessionDescription(Boxed<ffi::GstWebRTCSessionDescription>);
13
14    match fn {
15        copy => |ptr| ffi::gst_webrtc_session_description_copy(ptr),
16        free => |ptr| ffi::gst_webrtc_session_description_free(ptr),
17        type_ => || ffi::gst_webrtc_session_description_get_type(),
18    }
19}
20
21unsafe impl Send for WebRTCSessionDescription {}
22unsafe impl Sync for WebRTCSessionDescription {}