gstreamer_allocators/subclass/
dma_buf_allocator.rs

1
2
3
4
5
6
7
8
9
use glib::{prelude::*, subclass::prelude::*};

use crate::{subclass::fd_allocator::FdAllocatorImpl, DmaBufAllocator};

pub trait DmaBufAllocatorImpl:
    FdAllocatorImpl + ObjectSubclass<Type: IsA<DmaBufAllocator>>
{
}
unsafe impl<T: DmaBufAllocatorImpl> IsSubclassable<T> for DmaBufAllocator {}