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