Trait gstreamer::auto::device::DeviceExt

source ·
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§

source

fn create_element(&self, name: Option<&str>) -> Result<Element, BoolError>

source

fn caps(&self) -> Option<Caps>

source

fn device_class(&self) -> GString

source

fn display_name(&self) -> GString

source

fn properties(&self) -> Option<Structure>

source

fn has_classes(&self, classes: &str) -> bool

source

fn has_classesv(&self, classes: &[&str]) -> bool

source

fn reconfigure_element( &self, element: &impl IsA<Element>, ) -> Result<(), BoolError>

source

fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Device>> DeviceExt for O