Trait gstreamer_base::prelude::ObjectExt[][src]

pub trait ObjectExt: IsA<Object> {
    fn get_type(&self) -> Type;
fn set_property<'a, N>(
        &self,
        property_name: N,
        value: &ToValue
    ) -> Result<(), BoolError>
    where
        N: Into<&'a str>
;
fn get_property<'a, N>(&self, property_name: N) -> Result<Value, BoolError>
    where
        N: Into<&'a str>
;
fn has_property<'a, N>(
        &self,
        property_name: N,
        type_: Option<Type>
    ) -> Result<(), BoolError>
    where
        N: Into<&'a str>
;
fn get_property_type<'a, N>(&self, property_name: N) -> Option<Type>
    where
        N: Into<&'a str>
;
fn find_property<'a, N>(&self, property_name: N) -> Option<ParamSpec>
    where
        N: Into<&'a str>
;
fn list_properties(&self) -> Vec<ParamSpec>;
fn block_signal(&self, handler_id: &SignalHandlerId);
fn unblock_signal(&self, handler_id: &SignalHandlerId);
fn stop_signal_emission(&self, signal_name: &str);
fn connect<'a, N, F>(
        &self,
        signal_name: N,
        after: bool,
        callback: F
    ) -> Result<SignalHandlerId, BoolError>
    where
        F: Fn(&[Value]) -> Option<Value> + Send + Sync + 'static,
        N: Into<&'a str>
;
fn emit<'a, N>(
        &self,
        signal_name: N,
        args: &[&ToValue]
    ) -> Result<Option<Value>, BoolError>
    where
        N: Into<&'a str>
;
fn disconnect(&self, handler_id: SignalHandlerId);
fn connect_notify<'a, P, F>(&self, name: P, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &ParamSpec),
        P: Into<Option<&'a str>>
;
fn notify<'a, N>(&self, property_name: N)
    where
        N: Into<&'a str>
;
fn notify_by_pspec(&self, pspec: &ParamSpec);
fn downgrade(&self) -> WeakRef<Self>;
fn bind_property<'a, O, N, M>(
        &'a self,
        source_property: N,
        target: &'a O,
        target_property: M
    ) -> BindingBuilder<'a, Self, O>
    where
        M: Into<&'a str>,
        N: Into<&'a str>,
        O: IsA<Object>
;
fn ref_count(&self) -> u32; }

Required Methods

Important traits for Vec<u8>

Implementors