gstreamer: Mark DebugCategory as repr(transparent)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1274>
This commit is contained in:
Sebastian Dröge 2023-05-13 14:06:58 +03:00
parent b0d6cab254
commit 670d8ceec6

View file

@ -52,6 +52,7 @@ impl DebugMessage {
#[derive(PartialEq, Eq, Clone, Copy)]
#[doc(alias = "GstDebugCategory")]
#[repr(transparent)]
pub struct DebugCategory(Option<ptr::NonNull<ffi::GstDebugCategory>>);
impl DebugCategory {