[][src]Struct gstreamer::ParseContext

pub struct ParseContext(_);

Opaque structure.

Methods

impl ParseContext[src]

pub fn new() -> Self[src]

Allocates a parse context for use with gst_parse_launch_full or gst_parse_launchv_full.

Free-function: gst_parse_context_free

Returns

a newly-allocated parse context. Free with ParseContext::free when no longer needed.

pub fn get_missing_elements(&self) -> Vec<String>[src]

Retrieve missing elements from a previous run of gst_parse_launch_full or gst_parse_launchv_full. Will only return results if an error code of ParseError::NoSuchElement was returned.

Returns

a None-terminated array of element factory name strings of missing elements. Free with g_strfreev when no longer needed.

Trait Implementations

impl Clone for ParseContext[src]

impl Debug for ParseContext[src]

impl Default for ParseContext[src]

impl Eq for ParseContext[src]

impl Hash for ParseContext[src]

impl Ord for ParseContext[src]

impl PartialEq<ParseContext> for ParseContext[src]

impl PartialOrd<ParseContext> for ParseContext[src]

impl Send for ParseContext[src]

impl StaticType for ParseContext[src]

impl StructuralEq for ParseContext[src]

impl StructuralPartialEq for ParseContext[src]

impl Sync for ParseContext[src]

Auto Trait Implementations

impl RefUnwindSafe for ParseContext

impl Unpin for ParseContext

impl UnwindSafe for ParseContext

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> 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.