gstreamer_allocators/subclass/
fd_allocator.rs

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

use crate::FdAllocator;
use gst::subclass::prelude::AllocatorImpl;

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