[−][src]Struct gstreamer::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]
pub fn get(&self) -> Caps
[src]
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 Debug for StaticCaps
[src]
impl Send for StaticCaps
[src]
impl StaticType for StaticCaps
[src]
fn static_type() -> Type
[src]
impl Sync for StaticCaps
[src]
Auto Trait Implementations
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,
fn borrow_mut(&mut self) -> &mut T
[src]
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,
fn to_send_value(&self) -> SendValue
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,