[][src]Trait gstreamer::PadExt

pub trait PadExt: 'static {
    fn activate_mode(
        &self,
        mode: PadMode,
        active: bool
    ) -> Result<(), BoolError>;
fn can_link<P: IsA<Pad>>(&self, sinkpad: &P) -> bool;
fn check_reconfigure(&self) -> bool;
fn create_stream_id<'a, P: IsA<Element>, Q: Into<Option<&'a str>>>(
        &self,
        parent: &P,
        stream_id: Q
    ) -> Option<GString>;
fn forward<P: FnMut(&Pad) -> bool>(&self, forward: P) -> 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: Into<Option<&'a Caps>>>(
        &self,
        filter: P
    ) -> Option<Caps>;
fn query_accept_caps(&self, caps: &Caps) -> bool;
fn query_caps<'a, P: Into<Option<&'a Caps>>>(
        &self,
        filter: P
    ) -> Option<Caps>;
fn set_active(&self, active: bool) -> Result<(), BoolError>;
fn set_offset(&self, offset: i64);
fn stop_task(&self) -> Result<(), BoolError>;
fn unlink<P: IsA<Pad>>(&self, sinkpad: &P) -> 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: Fn(&Self, &Pad) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_unlinked<F: Fn(&Self, &Pad) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_caps_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_offset_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_template_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

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

fn check_reconfigure(&self) -> bool

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

fn forward<P: FnMut(&Pad) -> bool>(&self, forward: P) -> 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: Into<Option<&'a Caps>>>(
    &self,
    filter: P
) -> Option<Caps>

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

fn query_caps<'a, P: Into<Option<&'a Caps>>>(&self, filter: P) -> Option<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: Fn(&Self, &Pad) + Send + Sync + 'static>(
    &self,
    f: F
) -> SignalHandlerId

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

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

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

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

Loading content...

Implementors

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

Loading content...