[][src]Trait gstreamer_audio::prelude::PadExt

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

Required methods

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

pub fn check_reconfigure(&self) -> bool[src]

pub fn create_stream_id<P>(
    &self,
    parent: &P,
    stream_id: Option<&str>
) -> Option<GString> where
    P: IsA<Element>, 
[src]

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

pub fn get_allowed_caps(&self) -> Option<Caps>[src]

pub fn get_current_caps(&self) -> Option<Caps>[src]

pub fn get_direction(&self) -> PadDirection[src]

pub fn get_offset(&self) -> i64[src]

pub fn get_pad_template(&self) -> Option<PadTemplate>[src]

pub fn get_pad_template_caps(&self) -> Option<Caps>[src]

pub fn get_parent_element(&self) -> Option<Element>[src]

pub fn get_peer(&self) -> Option<Pad>[src]

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

pub fn get_stream(&self) -> Option<Stream>[src]

pub fn get_stream_id(&self) -> Option<GString>[src]

pub fn get_task_state(&self) -> TaskState[src]

pub fn has_current_caps(&self) -> bool[src]

pub fn is_active(&self) -> bool[src]

pub fn is_blocked(&self) -> bool[src]

pub fn is_blocking(&self) -> bool[src]

pub fn is_linked(&self) -> bool[src]

pub fn mark_reconfigure(&self)[src]

pub fn needs_reconfigure(&self) -> bool[src]

pub fn pause_task(&self) -> Result<(), BoolError>[src]

pub fn peer_query_accept_caps(&self, caps: &Caps) -> bool[src]

pub fn peer_query_caps(&self, filter: Option<&Caps>) -> Option<Caps>[src]

pub fn query_accept_caps(&self, caps: &Caps) -> bool[src]

pub fn query_caps(&self, filter: Option<&Caps>) -> Option<Caps>[src]

pub fn set_active(&self, active: bool) -> Result<(), BoolError>[src]

pub fn set_offset(&self, offset: i64)[src]

pub fn stop_task(&self) -> Result<(), BoolError>[src]

pub fn use_fixed_caps(&self)[src]

pub fn get_property_caps(&self) -> Option<Caps>[src]

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

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

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

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

Loading content...

Implementors

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

Loading content...