[][src]Trait gstreamer_check::prelude::PadExt

pub trait PadExt: 'static {
    fn activate_mode(
        &self,
        mode: PadMode,
        active: bool
    ) -> Result<(), BoolError>;
fn can_link<P>(&self, sinkpad: &P) -> bool
    where
        P: IsA<Pad>
;
fn check_reconfigure(&self) -> bool;
fn create_stream_id<'a, P, Q>(
        &self,
        parent: &P,
        stream_id: Q
    ) -> Option<GString>
    where
        P: IsA<Element>,
        Q: Into<Option<&'a str>>
;
fn forward<P>(&self, forward: P) -> bool
    where
        P: FnMut(&Pad) -> bool
;
fn get_allowed_caps(&self) -> Option<Caps>;
fn get_current_caps(&self) -> Option<Caps>;
fn get_direction(&self) -> PadDirection;
fn get_offset(&self) -> i64;
fn get_pad_template(&self) -> Option<PadTemplate>;
fn get_pad_template_caps(&self) -> Option<Caps>;
fn get_parent_element(&self) -> Option<Element>;
fn get_peer(&self) -> Option<Pad>;
fn get_sticky_event(&self, event_type: EventType, idx: u32) -> Option<Event>;
fn get_stream_id(&self) -> Option<GString>;
fn has_current_caps(&self) -> bool;
fn is_active(&self) -> bool;
fn is_blocked(&self) -> bool;
fn is_blocking(&self) -> bool;
fn is_linked(&self) -> bool;
fn mark_reconfigure(&self);
fn needs_reconfigure(&self) -> bool;
fn pause_task(&self) -> Result<(), BoolError>;
fn peer_query_accept_caps(&self, caps: &Caps) -> bool;
fn peer_query_caps<'a, P>(&self, filter: P) -> Option<Caps>
    where
        P: Into<Option<&'a Caps>>
;
fn query_accept_caps(&self, caps: &Caps) -> bool;
fn query_caps<'a, P>(&self, filter: P) -> Option<Caps>
    where
        P: Into<Option<&'a Caps>>
;
fn set_active(&self, active: bool) -> Result<(), BoolError>;
fn set_offset(&self, offset: i64);
fn stop_task(&self) -> Result<(), BoolError>;
fn unlink<P>(&self, sinkpad: &P) -> Result<(), BoolError>
    where
        P: IsA<Pad>
;
fn use_fixed_caps(&self);
fn get_property_caps(&self) -> Option<Caps>;
fn get_property_template(&self) -> Option<PadTemplate>;
fn set_property_template(&self, template: Option<&PadTemplate>);
fn connect_linked<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &Pad)
;
fn connect_unlinked<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self, &Pad)
;
fn connect_property_caps_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self)
;
fn connect_property_offset_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self)
;
fn connect_property_template_notify<F>(&self, f: F) -> SignalHandlerId
    where
        F: 'static + Send + Sync + Fn(&Self)
; }

Required methods

fn activate_mode(&self, mode: PadMode, active: bool) -> Result<(), BoolError>

fn check_reconfigure(&self) -> bool

fn create_stream_id<'a, P, Q>(
    &self,
    parent: &P,
    stream_id: Q
) -> Option<GString> where
    P: IsA<Element>,
    Q: Into<Option<&'a str>>, 

fn forward<P>(&self, forward: P) -> bool where
    P: FnMut(&Pad) -> bool

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

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

fn get_direction(&self) -> PadDirection

fn get_offset(&self) -> i64

fn get_pad_template(&self) -> Option<PadTemplate>

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

fn get_parent_element(&self) -> Option<Element>

fn get_peer(&self) -> Option<Pad>

fn get_sticky_event(&self, event_type: EventType, idx: u32) -> Option<Event>

fn get_stream_id(&self) -> Option<GString>

fn has_current_caps(&self) -> bool

fn is_active(&self) -> bool

fn is_blocked(&self) -> bool

fn is_blocking(&self) -> bool

fn is_linked(&self) -> bool

fn mark_reconfigure(&self)

fn needs_reconfigure(&self) -> bool

fn pause_task(&self) -> Result<(), BoolError>

fn peer_query_accept_caps(&self, caps: &Caps) -> bool

fn peer_query_caps<'a, P>(&self, filter: P) -> Option<Caps> where
    P: Into<Option<&'a Caps>>, 

fn query_accept_caps(&self, caps: &Caps) -> bool

fn query_caps<'a, P>(&self, filter: P) -> Option<Caps> where
    P: Into<Option<&'a Caps>>, 

fn set_active(&self, active: bool) -> Result<(), BoolError>

fn set_offset(&self, offset: i64)

fn stop_task(&self) -> Result<(), BoolError>

fn use_fixed_caps(&self)

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

fn get_property_template(&self) -> Option<PadTemplate>

fn set_property_template(&self, template: Option<&PadTemplate>)

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

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

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

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

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

Loading content...

Implementors

impl<O> PadExt for O where
    O: IsA<Pad>, 
[src]

Loading content...