gstreamer_base::subclass::push_src

Trait PushSrcImpl

Source
pub trait PushSrcImpl: PushSrcImplExt + BaseSrcImpl {
    // Provided methods
    fn fill(&self, buffer: &mut BufferRef) -> Result<FlowSuccess, FlowError> { ... }
    fn alloc(&self) -> Result<Buffer, FlowError> { ... }
    fn create(
        &self,
        buffer: Option<&mut BufferRef>,
    ) -> Result<CreateSuccess, FlowError> { ... }
}

Provided Methods§

Source

fn fill(&self, buffer: &mut BufferRef) -> Result<FlowSuccess, FlowError>

Source

fn alloc(&self) -> Result<Buffer, FlowError>

Source

fn create( &self, buffer: Option<&mut BufferRef>, ) -> Result<CreateSuccess, FlowError>

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.

Implementors§