Struct gstreamer::StaticCaps [−][src]
pub struct StaticCaps(_);
Datastructure to initialize crate::Caps
from a string description usually
used in conjunction with GST_STATIC_CAPS() and Self::get()
to
instantiate a crate::Caps
.
Implementations
impl StaticCaps
[src]
impl StaticCaps
[src]pub fn get(&self) -> Caps
[src]
pub fn get(&self) -> Caps
[src]Converts a crate::StaticCaps
to a crate::Caps
.
Returns
a pointer to the crate::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 Debug for StaticCaps
[src]impl StaticType for StaticCaps
[src]
impl StaticType for StaticCaps
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ValueType for StaticCaps
[src]
impl ValueType for StaticCaps
[src]impl Send for StaticCaps
[src]
impl Sync for StaticCaps
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,