[−][src]Struct gstreamer::StaticPadTemplate
Structure describing the StaticPadTemplate
.
Methods
impl StaticPadTemplate
[src][−]
pub fn get(&self) -> PadTemplate
[src][−]
pub fn get_caps(&self) -> Caps
[src][−]
Gets the capabilities of the static pad template.
Returns
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 Debug for StaticPadTemplate
[src][+]
impl Send for StaticPadTemplate
[src]
impl StaticType for StaticPadTemplate
[src][+]
impl Sync for StaticPadTemplate
[src]
Auto Trait Implementations
impl RefUnwindSafe for StaticPadTemplate
impl Unpin for StaticPadTemplate
impl UnwindSafe for StaticPadTemplate
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src][+]
T: ToValue + SetValue + Send + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src][+]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,