Trait gstreamer::GstBinExt[][src]

pub trait GstBinExt: 'static {
    fn add<P: IsA<Element>>(&self, element: &P) -> Result<(), BoolError>;
fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>;
fn get_by_interface(&self, iface: Type) -> Option<Element>;
fn get_by_name(&self, name: &str) -> Option<Element>;
fn get_by_name_recurse_up(&self, name: &str) -> Option<Element>;
fn get_suppressed_flags(&self) -> ElementFlags;
fn recalculate_latency(&self) -> Result<(), BoolError>;
fn remove<P: IsA<Element>>(&self, element: &P) -> Result<(), BoolError>;
fn set_suppressed_flags(&self, flags: ElementFlags);
fn sync_children_states(&self) -> Result<(), BoolError>;
fn get_property_async_handling(&self) -> bool;
fn set_property_async_handling(&self, async_handling: bool);
fn get_property_message_forward(&self) -> bool;
fn set_property_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_property_async_handling_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_message_forward_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add<P: IsA<Element>>(&self, element: &P) -> Result<(), BoolError>[src]

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

fn get_by_interface(&self, iface: Type) -> Option<Element>[src]

fn get_by_name(&self, name: &str) -> Option<Element>[src]

fn get_by_name_recurse_up(&self, name: &str) -> Option<Element>[src]

fn get_suppressed_flags(&self) -> ElementFlags[src]

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

fn remove<P: IsA<Element>>(&self, element: &P) -> Result<(), BoolError>[src]

fn set_suppressed_flags(&self, flags: ElementFlags)[src]

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

fn get_property_async_handling(&self) -> bool[src]

fn set_property_async_handling(&self, async_handling: bool)[src]

fn get_property_message_forward(&self) -> bool[src]

fn set_property_message_forward(&self, message_forward: bool)[src]

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

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

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

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

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

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

Loading content...

Implementors

impl<O: IsA<Bin>> GstBinExt for O[src]

Loading content...