gstreamer-rs/gstreamer-allocators/src/subclass/dma_buf_allocator.rs

7 lines
232 B
Rust

use glib::subclass::prelude::*;
use crate::{subclass::fd_allocator::FdAllocatorImpl, DmaBufAllocator};
pub trait DmaBufAllocatorImpl: FdAllocatorImpl {}
unsafe impl<T: DmaBufAllocatorImpl> IsSubclassable<T> for DmaBufAllocator {}