gdk4/auto/dmabuf_texture.rs
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// DO NOT EDIT
use crate::{ffi, Paintable, Texture};
glib::wrapper! {
/// A [`Texture`][crate::Texture] representing a DMA buffer.
///
/// To create a [`DmabufTexture`][crate::DmabufTexture], use the auxiliary
/// [`DmabufTextureBuilder`][crate::DmabufTextureBuilder] object.
///
/// Dma-buf textures can only be created on Linux.
///
/// # Implements
///
/// [`TextureExt`][trait@crate::prelude::TextureExt], [`PaintableExt`][trait@crate::prelude::PaintableExt], [`trait@gio::prelude::IconExt`], [`trait@gio::prelude::LoadableIconExt`], [`TextureExtManual`][trait@crate::prelude::TextureExtManual]
#[doc(alias = "GdkDmabufTexture")]
pub struct DmabufTexture(Object<ffi::GdkDmabufTexture, ffi::GdkDmabufTextureClass>) @extends Texture, @implements Paintable, gio::Icon, gio::LoadableIcon;
match fn {
type_ => || ffi::gdk_dmabuf_texture_get_type(),
}
}
impl DmabufTexture {}