2023-12-08 15:48:03 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
|
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
|
|
|
// DO NOT EDIT
|
|
|
|
|
2024-06-01 13:14:58 +00:00
|
|
|
use crate::ffi;
|
|
|
|
|
2023-12-08 15:48:03 +00:00
|
|
|
glib::wrapper! {
|
|
|
|
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
|
|
|
pub struct RTSPAuthCredential(Boxed<ffi::GstRTSPAuthCredential>);
|
|
|
|
|
|
|
|
match fn {
|
|
|
|
copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gst_rtsp_auth_credential_get_type(), ptr as *mut _) as *mut ffi::GstRTSPAuthCredential,
|
|
|
|
free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gst_rtsp_auth_credential_get_type(), ptr as *mut _),
|
|
|
|
type_ => || ffi::gst_rtsp_auth_credential_get_type(),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
unsafe impl Send for RTSPAuthCredential {}
|