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