Struct gstreamer::StaticPadTemplate [−][src]
#[repr(C)]pub struct StaticPadTemplate(_);
Structure describing the StaticPadTemplate
.
Methods
impl StaticPadTemplate
[src]
impl StaticPadTemplate
pub fn get(&self) -> PadTemplate
[src]
pub fn get(&self) -> PadTemplate
pub fn get_caps(&self) -> Caps
[src]
pub fn get_caps(&self) -> Caps
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 name_template<'a>(&self) -> &'a str
pub fn direction(&self) -> PadDirection
[src]
pub fn direction(&self) -> PadDirection
pub fn presence(&self) -> PadPresence
[src]
pub fn presence(&self) -> PadPresence
Trait Implementations
impl Send for StaticPadTemplate
[src]
impl Send for StaticPadTemplate
impl Sync for StaticPadTemplate
[src]
impl Sync for StaticPadTemplate
impl StaticType for StaticPadTemplate
[src]
impl StaticType for StaticPadTemplate
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.