[][src]Trait gstreamer_player::prelude::GstBinExt

pub trait GstBinExt: 'static {
    pub fn add<P>(&self, element: &P) -> Result<(), BoolError>
    where
        P: IsA<Element>
;
pub fn find_unlinked_pad(&self, direction: PadDirection) -> Option<Pad>;
pub fn get_by_interface(&self, iface: Type) -> Option<Element>;
pub fn get_by_name(&self, name: &str) -> Option<Element>;
pub fn get_by_name_recurse_up(&self, name: &str) -> Option<Element>;
pub fn get_suppressed_flags(&self) -> ElementFlags;
pub fn recalculate_latency(&self) -> Result<(), BoolError>;
pub fn remove<P>(&self, element: &P) -> Result<(), BoolError>
    where
        P: IsA<Element>
;
pub fn set_suppressed_flags(&self, flags: ElementFlags);
pub fn sync_children_states(&self) -> Result<(), BoolError>;
pub fn get_property_async_handling(&self) -> bool;
pub fn set_property_async_handling(&self, async_handling: bool);
pub fn get_property_message_forward(&self) -> bool;
pub fn set_property_message_forward(&self, message_forward: bool);
pub fn connect_deep_element_added<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &Bin, &Element)
;
pub fn connect_deep_element_removed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &Bin, &Element)
;
pub fn connect_element_added<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &Element)
;
pub fn connect_element_removed<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &Element)
;
pub fn connect_property_async_handling_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self)
;
pub fn connect_property_message_forward_notify<F>(
        &self,
        f: F
    ) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self)
; }

Required methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

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

Loading content...