gstreamer_vulkan/auto/
vulkan_image_view.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    #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
10    pub struct VulkanImageView(Boxed<ffi::GstVulkanImageView>);
11
12    match fn {
13        copy => |ptr| glib::gobject_ffi::g_boxed_copy(ffi::gst_vulkan_image_view_get_type(), ptr as *mut _) as *mut ffi::GstVulkanImageView,
14        free => |ptr| glib::gobject_ffi::g_boxed_free(ffi::gst_vulkan_image_view_get_type(), ptr as *mut _),
15        type_ => || ffi::gst_vulkan_image_view_get_type(),
16    }
17}
18
19impl VulkanImageView {
20    //#[doc(alias = "gst_vulkan_image_view_new")]
21    //pub fn new(image: /*Ignored*/&mut VulkanImageMemory, create_info: /*Ignored*/&vulkan::ImageViewCreateInfo) -> VulkanImageView {
22    //    unsafe { TODO: call ffi:gst_vulkan_image_view_new() }
23    //}
24}
25
26unsafe impl Send for VulkanImageView {}
27unsafe impl Sync for VulkanImageView {}