Struct gstreamer::PadBuilder [−][src]
pub struct PadBuilder<T>(_);
Implementations
impl<T: IsA<GhostPad> + IsA<Pad>> PadBuilder<T>
[src]
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]
F: Fn(&ProxyPad, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static,
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]
F: Fn(&ProxyPad, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
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]
F: Fn(&ProxyPad, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
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]
F: Fn(&ProxyPad, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
pub fn proxy_pad_event_function<F>(self, func: F) -> Self where
F: Fn(&ProxyPad, Option<&Object>, Event) -> bool + Send + Sync + 'static,
[src]
F: Fn(&ProxyPad, Option<&Object>, Event) -> bool + Send + Sync + 'static,
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]
F: Fn(&ProxyPad, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
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]
F: Fn(&ProxyPad, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static,
pub fn proxy_pad_iterate_internal_links_function<F>(self, func: F) -> Self where
F: Fn(&ProxyPad, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
[src]
F: Fn(&ProxyPad, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
pub fn proxy_pad_link_function<F>(self, func: F) -> Self where
F: Fn(&ProxyPad, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
[src]
F: Fn(&ProxyPad, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
pub fn proxy_pad_query_function<F>(self, func: F) -> Self where
F: Fn(&ProxyPad, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
[src]
F: Fn(&ProxyPad, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
pub fn proxy_pad_unlink_function<F>(self, func: F) -> Self where
F: Fn(&ProxyPad, Option<&Object>) + Send + Sync + 'static,
[src]
F: Fn(&ProxyPad, Option<&Object>) + Send + Sync + 'static,
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]
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]
templ: &StaticPadTemplate,
name: Option<&str>
) -> Self
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]
F: Fn(&T, Option<&Object>) -> Result<(), LoggableError> + Send + Sync + 'static,
pub fn activatemode_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, PadMode, bool) -> Result<(), LoggableError> + Send + Sync + 'static,
pub fn chain_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, Buffer) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
pub fn chain_list_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, BufferList) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
pub fn event_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, Event) -> bool + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, Event) -> bool + Send + Sync + 'static,
pub fn event_full_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, Event) -> Result<FlowSuccess, FlowError> + Send + Sync + 'static,
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]
F: Fn(&T, Option<&Object>, u64, Option<&mut BufferRef>, u32) -> Result<PadGetRangeSuccess, FlowError> + Send + Sync + 'static,
pub fn iterate_internal_links_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>) -> Iterator<Pad> + Send + Sync + 'static,
pub fn link_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, &Pad) -> Result<PadLinkSuccess, PadLinkError> + Send + Sync + 'static,
pub fn query_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>, &mut QueryRef) -> bool + Send + Sync + 'static,
pub fn unlink_function<F>(self, func: F) -> Self where
F: Fn(&T, Option<&Object>) + Send + Sync + 'static,
[src]
F: Fn(&T, Option<&Object>) + Send + Sync + 'static,
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,
T: RefUnwindSafe,
impl<T> Send for PadBuilder<T> where
T: Send,
T: Send,
impl<T> Sync for PadBuilder<T> where
T: Sync,
T: Sync,
impl<T> Unpin for PadBuilder<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for PadBuilder<T> where
T: UnwindSafe,
T: UnwindSafe,