Trait gstreamer::subclass::prelude::BinImpl

source ·
pub trait BinImpl: BinImplExt + ElementImpl {
    // Provided methods
    fn add_element(&self, element: &Element) -> Result<(), LoggableError> { ... }
    fn remove_element(&self, element: &Element) -> Result<(), LoggableError> { ... }
    fn do_latency(&self) -> Result<(), LoggableError> { ... }
    fn handle_message(&self, message: Message) { ... }
}

Provided Methods§

source

fn add_element(&self, element: &Element) -> Result<(), LoggableError>

Method to add an element to the bin.

§element

the element to be added

§Returns

true if the element was added

source

fn remove_element(&self, element: &Element) -> Result<(), LoggableError>

Method to remove an element from the bin.

§element

the element to be removed

§Returns

true if the element was removed

source

fn do_latency(&self) -> Result<(), LoggableError>

source

fn handle_message(&self, message: Message)

Method to handle a message from the children.

§message

the message to be handled

Object Safety§

This trait is not object safe.

Implementors§