[][src]Trait gstreamer::DeviceExt

pub trait DeviceExt: 'static {
    fn create_element(&self, name: Option<&str>) -> Option<Element>;
fn get_caps(&self) -> Option<Caps>;
fn get_device_class(&self) -> GString;
fn get_display_name(&self) -> GString;
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
    ) -> Result<(), BoolError>;
fn connect_removed<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

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

fn get_device_class(&self) -> GString

fn get_display_name(&self) -> GString

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
) -> Result<(), BoolError>

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

Loading content...

Implementors

impl<O: IsA<Device>> DeviceExt for O[src]

Loading content...