gstreamer_vulkan/auto/vulkan_handle_pool.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;
7use glib::prelude::*;
8
9glib::wrapper! {
10 #[doc(alias = "GstVulkanHandlePool")]
11 pub struct VulkanHandlePool(Object<ffi::GstVulkanHandlePool, ffi::GstVulkanHandlePoolClass>) @extends gst::Object;
12
13 match fn {
14 type_ => || ffi::gst_vulkan_handle_pool_get_type(),
15 }
16}
17
18impl VulkanHandlePool {
19 pub const NONE: Option<&'static VulkanHandlePool> = None;
20}
21
22unsafe impl Send for VulkanHandlePool {}
23unsafe impl Sync for VulkanHandlePool {}
24
25pub trait VulkanHandlePoolExt: IsA<VulkanHandlePool> + 'static {
26 //#[doc(alias = "gst_vulkan_handle_pool_acquire")]
27 //fn acquire(&self) -> Result</*Unimplemented*/Option<Basic: Pointer>, glib::Error> {
28 // unsafe { TODO: call ffi:gst_vulkan_handle_pool_acquire() }
29 //}
30
31 //#[doc(alias = "gst_vulkan_handle_pool_alloc")]
32 //fn alloc(&self) -> Result</*Unimplemented*/Option<Basic: Pointer>, glib::Error> {
33 // unsafe { TODO: call ffi:gst_vulkan_handle_pool_alloc() }
34 //}
35
36 //#[doc(alias = "gst_vulkan_handle_pool_release")]
37 //fn release(&self, handle: /*Unimplemented*/Option<Basic: Pointer>) {
38 // unsafe { TODO: call ffi:gst_vulkan_handle_pool_release() }
39 //}
40}
41
42impl<O: IsA<VulkanHandlePool>> VulkanHandlePoolExt for O {}