[][src]Struct gstreamer::StaticPadTemplate

pub struct StaticPadTemplate(_);

Structure describing the StaticPadTemplate.


impl StaticPadTemplate[src]

pub fn get(&self) -> PadTemplate[src]

Converts a StaticPadTemplate into a PadTemplate.


a new PadTemplate.

pub fn get_caps(&self) -> Caps[src]

Gets the capabilities of the static pad template.


the Caps of the static pad template. Unref after usage. Since the core holds an additional ref to the returned caps, use gst_caps_make_writable on the returned caps to modify it.

pub fn name_template<'a>(&self) -> &'a str[src]

pub fn direction(&self) -> PadDirection[src]

pub fn presence(&self) -> PadPresence[src]

Trait Implementations

impl Sync for StaticPadTemplate[src]

impl Send for StaticPadTemplate[src]

impl Debug for StaticPadTemplate[src]

impl StaticType for StaticPadTemplate[src]

Blanket Implementations

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

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