pub trait DeviceExt:
IsA<Device>
+ Sealed
+ 'static {
// Provided methods
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(
&self,
element: &impl IsA<Element>,
) -> Result<(), BoolError> { ... }
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
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( &self, element: &impl IsA<Element>, ) -> Result<(), BoolError>
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.