gstreamer-rs/gstreamer/src/subclass/object.rs
Sebastian Dröge 7f0ca0011c Add gst::GstObjectImpl, gst::ProxyPadImpl, gst_audio::AudioBaseSrc, gst_audio::AudioBaseSink subclassing traits
These were missing from the type hierarchy previously and are now
required because of more strict checks in the GLib bindings.
2021-10-23 11:59:03 +03:00

8 lines
223 B
Rust

// Take a look at the license at the top of the repository in the LICENSE file.
use glib::subclass::prelude::*;
pub trait GstObjectImpl: ObjectImpl {}
unsafe impl<T: GstObjectImpl> IsSubclassable<T> for crate::Object {}