Trait gstreamer::prelude::DeviceExt [−][src]
pub trait DeviceExt: 'static {
fn create_element(&self, name: Option<&str>) -> Result<Element, BoolError>;
fn caps(&self) -> Option<Caps>;
fn device_class(&self) -> GString;
fn display_name(&self) -> GString;
fn properties(&self) -> Option<Structure>;
fn has_classes(&self, classes: &str) -> bool;
fn has_classesv(&self, classes: &[&str]) -> bool;
fn reconfigure_element<P: IsA<Element>>(
&self,
element: &P
) -> Result<(), BoolError>;
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
}