Trait gstreamer_base::prelude::BinExt [−][src]
pub trait BinExt { fn add<P>(&self, element: &P) -> Result<(), BoolError>
where
P: IsA<Element>; 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>(&self, element: &P) -> Result<(), BoolError>
where
P: IsA<Element>; 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>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self, &Bin, &Element); fn connect_deep_element_removed<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self, &Bin, &Element); fn connect_do_latency<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self) -> bool; fn connect_element_added<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self, &Element); fn connect_element_removed<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self, &Element); fn connect_property_async_handling_notify<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self); fn connect_property_message_forward_notify<F>(
&self,
f: F
) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self); }
Required Methods
fn add<P>(&self, element: &P) -> Result<(), BoolError> where
P: IsA<Element>,
P: IsA<Element>,
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>(&self, element: &P) -> Result<(), BoolError> where
P: IsA<Element>,
P: IsA<Element>,
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>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Bin, &Element),
F: 'static + Send + Sync + Fn(&Self, &Bin, &Element),
fn connect_deep_element_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Bin, &Element),
F: 'static + Send + Sync + Fn(&Self, &Bin, &Element),
fn connect_do_latency<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self) -> bool,
F: 'static + Send + Sync + Fn(&Self) -> bool,
fn connect_element_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Element),
F: 'static + Send + Sync + Fn(&Self, &Element),
fn connect_element_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Element),
F: 'static + Send + Sync + Fn(&Self, &Element),
fn connect_property_async_handling_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
F: 'static + Send + Sync + Fn(&Self),
fn connect_property_message_forward_notify<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self),
F: 'static + Send + Sync + Fn(&Self),