Trait gstreamer::prelude::DeviceExt [−][src]
pub trait DeviceExt { fn create_element<'a, P: Into<Option<&'a str>>>(
&self,
name: P
) -> Option<Element>; fn get_caps(&self) -> Option<Caps>; fn get_device_class(&self) -> String; fn get_display_name(&self) -> String; fn get_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) -> bool; fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_caps_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_device_class_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_display_name_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; fn connect_property_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId; }
Required Methods
fn create_element<'a, P: Into<Option<&'a str>>>(
&self,
name: P
) -> Option<Element>
&self,
name: P
) -> Option<Element>
fn get_caps(&self) -> Option<Caps>
fn get_device_class(&self) -> String
fn get_display_name(&self) -> String
fn get_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) -> bool
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_caps_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_device_class_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_display_name_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
fn connect_property_properties_notify<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId