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> + IsClass> 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

impl<T> Send for PadBuilder<T> where
    T: Send

impl<T> Sync for PadBuilder<T> where
    T: Sync

impl<T> Unpin for PadBuilder<T> where
    T: Unpin

impl<T> UnwindSafe for PadBuilder<T> where
    T: UnwindSafe

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.