gstreamer_allocators/auto/
phys_memory_allocator.rs1use crate::ffi;
7use glib::prelude::*;
8
9glib::wrapper! {
10    #[doc(alias = "GstPhysMemoryAllocator")]
16    pub struct PhysMemoryAllocator(Interface<ffi::GstPhysMemoryAllocator, ffi::GstPhysMemoryAllocatorInterface>) @requires gst::Allocator;
17
18    match fn {
19        type_ => || ffi::gst_phys_memory_allocator_get_type(),
20    }
21}
22
23impl PhysMemoryAllocator {
24    pub const NONE: Option<&'static PhysMemoryAllocator> = None;
25}
26
27unsafe impl Send for PhysMemoryAllocator {}
28unsafe impl Sync for PhysMemoryAllocator {}
29
30pub trait PhysMemoryAllocatorExt: IsA<PhysMemoryAllocator> + 'static {}
36
37impl<O: IsA<PhysMemoryAllocator>> PhysMemoryAllocatorExt for O {}