gstreamer_gl/auto/
gl_base_memory_allocator.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6use crate::ffi;
7
8glib::wrapper! {
9    /// Opaque [`GLBaseMemoryAllocator`][crate::GLBaseMemoryAllocator] struct
10    ///
11    /// This is an Abstract Base Class, you cannot instantiate it.
12    ///
13    /// # Implements
14    ///
15    /// [`trait@gst::prelude::AllocatorExt`], [`trait@gst::prelude::ObjectExt`], [`trait@glib::ObjectExt`]
16    #[doc(alias = "GstGLBaseMemoryAllocator")]
17    pub struct GLBaseMemoryAllocator(Object<ffi::GstGLBaseMemoryAllocator, ffi::GstGLBaseMemoryAllocatorClass>) @extends gst::Allocator, gst::Object;
18
19    match fn {
20        type_ => || ffi::gst_gl_base_memory_allocator_get_type(),
21    }
22}
23
24impl GLBaseMemoryAllocator {
25    pub const NONE: Option<&'static GLBaseMemoryAllocator> = None;
26}
27
28unsafe impl Send for GLBaseMemoryAllocator {}
29unsafe impl Sync for GLBaseMemoryAllocator {}