gstreamer_vulkan/auto/
vulkan_buffer_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 [`VulkanBufferMemoryAllocator`][crate::VulkanBufferMemoryAllocator] struct
10    ///
11    /// # Implements
12    ///
13    /// [`trait@gst::prelude::AllocatorExt`], [`trait@gst::prelude::ObjectExt`], [`trait@glib::ObjectExt`]
14    #[doc(alias = "GstVulkanBufferMemoryAllocator")]
15    pub struct VulkanBufferMemoryAllocator(Object<ffi::GstVulkanBufferMemoryAllocator, ffi::GstVulkanBufferMemoryAllocatorClass>) @extends gst::Allocator, gst::Object;
16
17    match fn {
18        type_ => || ffi::gst_vulkan_buffer_memory_allocator_get_type(),
19    }
20}
21
22impl VulkanBufferMemoryAllocator {
23    pub const NONE: Option<&'static VulkanBufferMemoryAllocator> = None;
24}
25
26unsafe impl Send for VulkanBufferMemoryAllocator {}
27unsafe impl Sync for VulkanBufferMemoryAllocator {}