1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT
use crate::ffi;
use glib::prelude::*;
glib::wrapper! {
#[doc(alias = "GstVulkanHandlePool")]
pub struct VulkanHandlePool(Object<ffi::GstVulkanHandlePool, ffi::GstVulkanHandlePoolClass>) @extends gst::Object;
match fn {
type_ => || ffi::gst_vulkan_handle_pool_get_type(),
}
}
impl VulkanHandlePool {
pub const NONE: Option<&'static VulkanHandlePool> = None;
}
unsafe impl Send for VulkanHandlePool {}
unsafe impl Sync for VulkanHandlePool {}
pub trait VulkanHandlePoolExt: IsA<VulkanHandlePool> + 'static {
//#[doc(alias = "gst_vulkan_handle_pool_acquire")]
//fn acquire(&self) -> Result</*Unimplemented*/Option<Basic: Pointer>, glib::Error> {
// unsafe { TODO: call ffi:gst_vulkan_handle_pool_acquire() }
//}
//#[doc(alias = "gst_vulkan_handle_pool_alloc")]
//fn alloc(&self) -> Result</*Unimplemented*/Option<Basic: Pointer>, glib::Error> {
// unsafe { TODO: call ffi:gst_vulkan_handle_pool_alloc() }
//}
//#[doc(alias = "gst_vulkan_handle_pool_release")]
//fn release(&self, handle: /*Unimplemented*/Option<Basic: Pointer>) {
// unsafe { TODO: call ffi:gst_vulkan_handle_pool_release() }
//}
}
impl<O: IsA<VulkanHandlePool>> VulkanHandlePoolExt for O {}