Skip to main content

gstreamer_allocators/subclass/
dma_buf_allocator.rs

1use glib::{prelude::*, subclass::prelude::*};
2
3use crate::{DmaBufAllocator, subclass::fd_allocator::FdAllocatorImpl};
4
5pub trait DmaBufAllocatorImpl:
6    FdAllocatorImpl + ObjectSubclass<Type: IsA<DmaBufAllocator>>
7{
8}
9unsafe impl<T: DmaBufAllocatorImpl> IsSubclassable<T> for DmaBufAllocator {}