gstreamer_allocators/auto/
phys_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;
7use glib::prelude::*;
8
9glib::wrapper! {
10    #[doc(alias = "GstPhysMemoryAllocator")]
11    pub struct PhysMemoryAllocator(Interface<ffi::GstPhysMemoryAllocator, ffi::GstPhysMemoryAllocatorInterface>) @requires gst::Allocator;
12
13    match fn {
14        type_ => || ffi::gst_phys_memory_allocator_get_type(),
15    }
16}
17
18impl PhysMemoryAllocator {
19    pub const NONE: Option<&'static PhysMemoryAllocator> = None;
20}
21
22unsafe impl Send for PhysMemoryAllocator {}
23unsafe impl Sync for PhysMemoryAllocator {}
24
25pub trait PhysMemoryAllocatorExt: IsA<PhysMemoryAllocator> + 'static {}
26
27impl<O: IsA<PhysMemoryAllocator>> PhysMemoryAllocatorExt for O {}