Struct gstreamer::StaticCaps [−][src]
#[repr(C)]pub struct StaticCaps(_);
Datastructure to initialize Caps
from a string description usually
used in conjunction with GST_STATIC_CAPS() and StaticCaps::get
to
instantiate a Caps
.
Methods
impl StaticCaps
[src]
impl StaticCaps
pub fn get(&self) -> Caps
[src]
pub fn get(&self) -> Caps
Converts a StaticCaps
to a Caps
.
Returns
a pointer to the Caps
. 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.
Trait Implementations
impl Send for StaticCaps
[src]
impl Send for StaticCaps
impl Sync for StaticCaps
[src]
impl Sync for StaticCaps
impl StaticType for StaticCaps
[src]
impl StaticType for StaticCaps
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.