egl: Add prelude to re-export new extension trait

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1719>
This commit is contained in:
Sebastian Dröge 2025-04-02 10:36:45 +03:00
parent 127ec39f44
commit 5ff9e99e0c

View file

@ -26,3 +26,12 @@ mod auto;
pub use auto::*;
mod gl_display_egl;
// Re-export all the traits in a prelude module, so that applications
// can always "use gst_egl::prelude::*" without getting conflicts
pub mod prelude {
#[doc(hidden)]
pub use gst_gl::prelude::*;
pub use crate::auto::traits::*;
}