Struct gstreamer::PadBuilder[][src]

pub struct PadBuilder<T>(_);

Implementations

impl<T: IsA<GhostPad> + IsA<Pad>> PadBuilder<T>[src]

pub fn proxy_pad_activate_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static, 
[src]

pub fn proxy_pad_activatemode_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static, 
[src]

pub fn proxy_pad_chain_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn proxy_pad_chain_list_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn proxy_pad_event_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, Event) -> bool + Send + Sync + 'static, 
[src]

pub fn proxy_pad_event_full_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn proxy_pad_getrange_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn proxy_pad_query_function<F>(self, func: F) -> Self where
    F: Fn(&ProxyPad, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static, 
[src]

pub fn proxy_pad_flags(self, flags: PadFlags) -> Self[src]

pub fn build_with_target<P: IsA<Pad>>(self, target: &P) -> Result<T, BoolError>[src]

impl<T: IsA<Pad> + IsA<Object>> PadBuilder<T>[src]

pub fn new(name: Option<&str>, direction: PadDirection) -> Self[src]

pub fn from_static_template(
    templ: &StaticPadTemplate,
    name: Option<&str>
) -> Self
[src]

pub fn from_template(templ: &PadTemplate, name: Option<&str>) -> Self[src]

pub fn activate_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static, 
[src]

pub fn activatemode_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static, 
[src]

pub fn chain_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn chain_list_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn event_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, Event) -> bool + Send + Sync + 'static, 
[src]

pub fn event_full_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn getrange_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static, 
[src]

pub fn query_function<F>(self, func: F) -> Self where
    F: Fn(&T, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static, 
[src]

pub fn flags(self, flags: PadFlags) -> Self[src]

pub fn build(self) -> T[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for PadBuilder<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for PadBuilder<T> where
    T: Send
[src]

impl<T> Sync for PadBuilder<T> where
    T: Sync
[src]

impl<T> Unpin for PadBuilder<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for PadBuilder<T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.