gstreamer::auto::bin

Trait GstBinExt

Source
pub trait GstBinExt:
    IsA<Bin>
    + Sealed
    + 'static {
Show 20 methods // Provided methods fn add(&self, element: &impl IsA<Element>) -> Result<(), BoolError> { ... } fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad> { ... } fn by_interface(&self, iface: Type) -> Option<Element> { ... } fn by_name(&self, name: &str) -> Option<Element> { ... } fn by_name_recurse_up(&self, name: &str) -> Option<Element> { ... } fn suppressed_flags(&self) -> ElementFlags { ... } fn recalculate_latency(&self) -> Result<(), BoolError> { ... } fn remove(&self, element: &impl IsA<Element>) -> Result<(), BoolError> { ... } fn set_suppressed_flags(&self, flags: ElementFlags) { ... } fn sync_children_states(&self) -> Result<(), BoolError> { ... } fn is_async_handling(&self) -> bool { ... } fn set_async_handling(&self, async_handling: bool) { ... } fn is_message_forward(&self) -> bool { ... } fn set_message_forward(&self, message_forward: bool) { ... } fn connect_deep_element_added<F: Fn(&Self, &Bin, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_deep_element_removed<F: Fn(&Self, &Bin, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_element_added<F: Fn(&Self, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_element_removed<F: Fn(&Self, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_async_handling_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_message_forward_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn add(&self, element: &impl IsA<Element>) -> Result<(), BoolError>

Source

fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>

Source

fn by_interface(&self, iface: Type) -> Option<Element>

Source

fn by_name(&self, name: &str) -> Option<Element>

Source

fn by_name_recurse_up(&self, name: &str) -> Option<Element>

Source

fn suppressed_flags(&self) -> ElementFlags

Source

fn recalculate_latency(&self) -> Result<(), BoolError>

Source

fn remove(&self, element: &impl IsA<Element>) -> Result<(), BoolError>

Source

fn set_suppressed_flags(&self, flags: ElementFlags)

Source

fn sync_children_states(&self) -> Result<(), BoolError>

Source

fn is_async_handling(&self) -> bool

Source

fn set_async_handling(&self, async_handling: bool)

Source

fn is_message_forward(&self) -> bool

Source

fn set_message_forward(&self, message_forward: bool)

Source

fn connect_deep_element_added<F: Fn(&Self, &Bin, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_deep_element_removed<F: Fn(&Self, &Bin, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_element_added<F: Fn(&Self, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_element_removed<F: Fn(&Self, &Element) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_async_handling_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_message_forward_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

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§

Source§

impl<O: IsA<Bin>> GstBinExt for O