[][src]Struct gstreamer::ProxyPad

pub struct ProxyPad(_, _);

Implements

ProxyPadExt, PadExt, GstObjectExt, glib::object::ObjectExt, ProxyPadExtManual, PadExtManual

Methods

impl ProxyPad[src]

pub fn chain_default<O: IsA<ProxyPad>, P: IsA<Object>>(
    pad: &O,
    parent: Option<&P>,
    buffer: Buffer
) -> Result<FlowSuccess, FlowError>
[src]

Invoke the default chain function of the proxy pad.

pad

a sink Pad, returns GST_FLOW_ERROR if not.

parent

the parent of pad or None

buffer

the Buffer to send, return GST_FLOW_ERROR if not.

Returns

a FlowReturn from the pad.

pub fn chain_list_default<O: IsA<ProxyPad>, P: IsA<Object>>(
    pad: &O,
    parent: Option<&P>,
    list: BufferList
) -> Result<FlowSuccess, FlowError>
[src]

Invoke the default chain list function of the proxy pad.

pad

a sink Pad, returns GST_FLOW_ERROR if not.

parent

the parent of pad or None

list

the BufferList to send, return GST_FLOW_ERROR if not.

Returns

a FlowReturn from the pad.

pub fn getrange_default<O: IsA<ProxyPad>, P: IsA<Object>>(
    pad: &O,
    parent: Option<&P>,
    offset: u64,
    size: u32
) -> Result<Buffer, FlowError>
[src]

Invoke the default getrange function of the proxy pad.

pad

a src Pad, returns FlowReturn::Error if not.

parent

the parent of pad

offset

The start offset of the buffer

size

The length of the buffer

buffer

a pointer to hold the Buffer, returns FlowReturn::Error if None.

Returns

a FlowReturn from the pad.

Invoke the default iterate internal links function of the proxy pad.

pad

the Pad to get the internal links of.

parent

the parent of pad or None

Returns

a Iterator of Pad, or None if pad has no parent. Unref each returned pad with GstObjectExt::unref.

Trait Implementations

impl Clone for ProxyPad[src]

impl Debug for ProxyPad[src]

impl Eq for ProxyPad[src]

impl Hash for ProxyPad[src]

impl IsA<Object> for ProxyPad[src]

impl IsA<Pad> for ProxyPad[src]

impl IsA<ProxyPad> for GhostPad[src]

impl Ord for ProxyPad[src]

impl<T: ObjectType> PartialEq<T> for ProxyPad[src]

impl<T: ObjectType> PartialOrd<T> for ProxyPad[src]

impl Send for ProxyPad[src]

impl StaticType for ProxyPad[src]

impl Sync for ProxyPad[src]

Auto Trait Implementations

impl RefUnwindSafe for ProxyPad

impl Unpin for ProxyPad

impl UnwindSafe for ProxyPad

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<Super, Sub> CanDowncast<Sub> for Super where
    Sub: IsA<Super>,
    Super: IsA<Super>, 
[src]

impl<T> Cast for T where
    T: ObjectType
[src]

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

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

impl<T> ObjectExt for T where
    T: ObjectType
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[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.