[]Struct gstreamer::ParseContext

pub struct ParseContext(_);

Opaque structure.


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


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.


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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for ParseContext[src]

impl Ord for ParseContext[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Default for ParseContext[src]

impl PartialEq<ParseContext> for ParseContext[src]

impl PartialOrd<ParseContext> for ParseContext[src]

impl Debug for ParseContext[src]

impl Hash for ParseContext[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for ParseContext

Auto Trait Implementations

impl !Send for ParseContext

impl !Sync for ParseContext

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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

impl<T> ToValue for T where
    T: SetValue + ?Sized

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