gstreamer_editing_services::subclass::prelude

Trait IsSubclassable

Source
pub unsafe trait IsSubclassable<T>: IsSubclassableDefault<T>
where T: ObjectSubclass,
{ // Provided methods fn class_init(class: &mut Class<Self>) { ... } fn instance_init(instance: &mut InitializingObject<T>) { ... } }
Expand description

Trait for subclassable class structs.

Provided Methods§

Source

fn class_init(class: &mut Class<Self>)

Override the virtual methods of this class for the given subclass and do other class initialization.

This is automatically called during type initialization and must call class_init() of the parent class.

Source

fn instance_init(instance: &mut InitializingObject<T>)

Instance specific initialization.

This is automatically called during instance initialization and must call instance_init() of the parent class.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<T> IsSubclassable<T> for Allocator
where T: AllocatorImpl,

Source§

impl<T> IsSubclassable<T> for Bin
where T: BinImpl,

Source§

fn class_init(klass: &mut Class<Bin>)

Source§

impl<T> IsSubclassable<T> for BufferPool
where T: BufferPoolImpl,

Source§

impl<T> IsSubclassable<T> for Clock
where T: ClockImpl,

Source§

fn class_init(klass: &mut Class<Clock>)

Source§

impl<T> IsSubclassable<T> for Device
where T: DeviceImpl,

Source§

impl<T> IsSubclassable<T> for DeviceProvider

Source§

impl<T> IsSubclassable<T> for Element
where T: ElementImpl,

Source§

impl<T> IsSubclassable<T> for GhostPad
where T: GhostPadImpl,

Source§

impl<T> IsSubclassable<T> for Object
where T: GstObjectImpl,

Source§

impl<T> IsSubclassable<T> for Pad
where T: PadImpl,

Source§

fn class_init(klass: &mut Class<Pad>)

Source§

impl<T> IsSubclassable<T> for Pipeline
where T: PipelineImpl,

Source§

impl<T> IsSubclassable<T> for ProxyPad
where T: ProxyPadImpl,

Source§

impl<T> IsSubclassable<T> for SystemClock
where T: SystemClockImpl,

Source§

impl<T> IsSubclassable<T> for TaskPool
where T: TaskPoolImpl,

Source§

impl<T> IsSubclassable<T> for Tracer
where T: TracerImpl,

Source§

impl<T> IsSubclassable<T> for AudioAggregator

Source§

impl<T> IsSubclassable<T> for AudioAggregatorConvertPad

Source§

impl<T> IsSubclassable<T> for AudioAggregatorPad

Source§

impl<T> IsSubclassable<T> for AudioBaseSink

Source§

impl<T> IsSubclassable<T> for AudioBaseSrc

Source§

impl<T> IsSubclassable<T> for AudioDecoder

Source§

impl<T> IsSubclassable<T> for AudioEncoder

Source§

impl<T> IsSubclassable<T> for AudioFilter
where T: AudioFilterImpl,

Source§

impl<T> IsSubclassable<T> for AudioSink
where T: AudioSinkImpl,

Source§

impl<T> IsSubclassable<T> for AudioSrc
where T: AudioSrcImpl,

Source§

impl<T> IsSubclassable<T> for Aggregator
where T: AggregatorImpl,

Source§

impl<T> IsSubclassable<T> for AggregatorPad

Source§

impl<T> IsSubclassable<T> for BaseParse
where T: BaseParseImpl,

Source§

impl<T> IsSubclassable<T> for BaseSink
where T: BaseSinkImpl,

Source§

impl<T> IsSubclassable<T> for BaseSrc
where T: BaseSrcImpl,

Source§

impl<T> IsSubclassable<T> for BaseTransform

Source§

impl<T> IsSubclassable<T> for PushSrc
where T: PushSrcImpl,

Source§

impl<T> IsSubclassable<T> for AudioVisualizer

Source§

impl<T> IsSubclassable<T> for VideoAggregator

Source§

impl<T> IsSubclassable<T> for VideoAggregatorConvertPad

Source§

impl<T> IsSubclassable<T> for VideoAggregatorPad

Source§

impl<T> IsSubclassable<T> for VideoDecoder

Source§

impl<T> IsSubclassable<T> for VideoEncoder

Source§

impl<T> IsSubclassable<T> for VideoFilter
where T: VideoFilterImpl,

Source§

impl<T> IsSubclassable<T> for VideoSink
where T: VideoSinkImpl,

Source§

impl<T> IsSubclassable<T> for Application
where T: ApplicationImpl,

Source§

impl<T> IsSubclassable<T> for InputStream
where T: InputStreamImpl,

Source§

impl<T> IsSubclassable<T> for IOStream
where T: IOStreamImpl,

Source§

impl<T> IsSubclassable<T> for OutputStream

Source§

impl<T> IsSubclassable<T> for SocketControlMessage

Implementors§