Struct gstreamer::StaticCaps[][src]

pub struct StaticCaps(_);
Expand description

Data structure to initialize Caps from a string description usually used in conjunction with GST_STATIC_CAPS() and get() to instantiate a Caps.

Implementations

Converts a StaticCaps to a Caps.

Returns

a pointer to the Caps. 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

Formats the value using the given formatter. Read more

Returns the type identifier of Self.

Type to get the Type from. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Returns a SendValue clone of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.