gstreamer_rtsp/auto/
rtsp_auth_credential.rs
1use crate::ffi;
7
8glib::wrapper! {
9 #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
11 pub struct RTSPAuthCredential(Boxed<ffi::GstRTSPAuthCredential>);
12
13 match fn {
14 copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gst_rtsp_auth_credential_get_type(), ptr as *mut _) as *mut ffi::GstRTSPAuthCredential,
15 free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gst_rtsp_auth_credential_get_type(), ptr as *mut _),
16 type_ => || ffi::gst_rtsp_auth_credential_get_type(),
17 }
18}
19
20unsafe impl Send for RTSPAuthCredential {}