[−][src]Struct gstreamer::caps::Caps
Methods
impl Caps
[src]
pub unsafe fn from_glib_none(ptr: *const GstCaps) -> Self
[src]
pub unsafe fn from_glib_full(ptr: *const GstCaps) -> Self
[src]
pub unsafe fn from_glib_borrow(ptr: *const GstCaps) -> Self
[src]
pub unsafe fn into_ptr(self) -> *mut GstCaps
[src]
pub fn copy(&self) -> Self
[src]
impl Caps
[src]
pub fn builder(name: &str) -> Builder
[src]
pub fn new_empty() -> Self
[src]
pub fn new_any() -> Self
[src]
pub fn new_simple(name: &str, values: &[(&str, &dyn ToSendValue)]) -> Self
[src]
pub fn from_string(value: &str) -> Option<Self>
[src]
pub fn fixate(caps: Self) -> Self
[src]
pub fn merge(caps: Self, other: Self) -> Self
[src]
pub fn merge_structure(caps: Self, structure: Structure) -> Self
[src]
pub fn merge_structure_full(
caps: Self,
structure: Structure,
features: Option<CapsFeatures>
) -> Self
[src]
caps: Self,
structure: Structure,
features: Option<CapsFeatures>
) -> Self
pub fn normalize(caps: Self) -> Self
[src]
pub fn simplify(caps: Self) -> Self
[src]
pub fn truncate(caps: Self) -> Self
[src]
Methods from Deref<Target = GstRc<CapsRef>>
pub fn make_mut(&mut self) -> &mut T
[src]
pub fn get_mut(&mut self) -> Option<&mut T>
[src]
pub fn is_writable(&self) -> bool
[src]
Trait Implementations
impl Eq for Caps
[src]
impl Into<GstRc<CapsRef>> for Caps
[src]
impl PartialEq<Caps> for Caps
[src]
impl Clone for Caps
[src]
fn clone(&self) -> Caps
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<CapsRef> for Caps
[src]
impl From<GstRc<CapsRef>> for Caps
[src]
impl DerefMut for Caps
[src]
impl Deref for Caps
[src]
type Target = GstRc<CapsRef>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Debug for Caps
[src]
impl Display for Caps
[src]
impl FromStr for Caps
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, ()>
[src]
impl Borrow<CapsRef> for Caps
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstCaps> for Caps
[src]
type Storage = (Vec<Stash<'a, *mut GstCaps, Caps>>, Option<Vec<*mut GstCaps>>)
fn to_glib_none_from_slice(t: &'a [Caps]) -> (*mut *mut GstCaps, Self::Storage)
[src]
fn to_glib_container_from_slice(
t: &'a [Caps]
) -> (*mut *mut GstCaps, Self::Storage)
[src]
t: &'a [Caps]
) -> (*mut *mut GstCaps, Self::Storage)
fn to_glib_full_from_slice(t: &[Caps]) -> *mut *mut GstCaps
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstCaps> for Caps
[src]
type Storage = (Vec<Stash<'a, *mut GstCaps, Caps>>, Option<Vec<*mut GstCaps>>)
fn to_glib_none_from_slice(
t: &'a [Caps]
) -> (*const *mut GstCaps, Self::Storage)
[src]
t: &'a [Caps]
) -> (*const *mut GstCaps, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [Caps]
) -> (*const *mut GstCaps, Self::Storage)
[src]
_: &'a [Caps]
) -> (*const *mut GstCaps, Self::Storage)
fn to_glib_full_from_slice(_: &[Caps]) -> *const *mut GstCaps
[src]
impl<'a> ToGlibPtr<'a, *const GstCaps> for Caps
[src]
type Storage = Stash<'a, *const GstCaps, GstRc<CapsRef>>
fn to_glib_none(&'a self) -> Stash<'a, *const GstCaps, Self>
[src]
fn to_glib_full(&self) -> *const GstCaps
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstCaps> for Caps
[src]
type Storage = Stash<'a, *mut GstCaps, GstRc<CapsRef>>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstCaps, Self>
[src]
fn to_glib_full(&self) -> *mut GstCaps
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
Transfer: container. Read more
impl FromGlibPtrFull<*const GstCaps> for Caps
[src]
unsafe fn from_glib_full(ptr: *const GstCaps) -> Self
[src]
impl FromGlibPtrFull<*mut GstCaps> for Caps
[src]
unsafe fn from_glib_full(ptr: *mut GstCaps) -> Self
[src]
impl FromGlibContainerAsVec<*mut GstCaps, *mut *mut GstCaps> for Caps
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstCaps,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstCaps,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstCaps,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstCaps,
num: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstCaps,
num: usize
) -> Vec<Self>
[src]
ptr: *mut *mut GstCaps,
num: usize
) -> Vec<Self>
impl FromGlibContainerAsVec<*mut GstCaps, *const *mut GstCaps> for Caps
[src]
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstCaps,
num: usize
) -> Vec<Self>
[src]
ptr: *const *mut GstCaps,
num: usize
) -> Vec<Self>
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstCaps,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstCaps,
_: usize
) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstCaps,
_: usize
) -> Vec<Self>
[src]
_: *const *mut GstCaps,
_: usize
) -> Vec<Self>
impl FromGlibPtrNone<*const GstCaps> for Caps
[src]
unsafe fn from_glib_none(ptr: *const GstCaps) -> Self
[src]
impl FromGlibPtrNone<*mut GstCaps> for Caps
[src]
unsafe fn from_glib_none(ptr: *mut GstCaps) -> Self
[src]
impl FromGlibPtrBorrow<*const GstCaps> for Caps
[src]
unsafe fn from_glib_borrow(ptr: *const GstCaps) -> Self
[src]
impl FromGlibPtrBorrow<*mut GstCaps> for Caps
[src]
unsafe fn from_glib_borrow(ptr: *mut GstCaps) -> Self
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstCaps> for Caps
[src]
type Storage = StashMut<'a, *mut GstCaps, GstRc<CapsRef>>
fn to_glib_none_mut(&'a mut self) -> StashMut<*mut GstCaps, Self>
[src]
impl GlibPtrDefault for Caps
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstCaps, *mut *mut GstCaps> for Caps
[src]
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstCaps) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstCaps) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstCaps) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstCaps, *const *mut GstCaps> for Caps
[src]
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstCaps) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstCaps) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstCaps) -> Vec<Self>
[src]
impl StaticType for Caps
[src]
fn static_type() -> Type
[src]
impl SetValue for Caps
[src]
impl<'a> FromValueOptional<'a> for Caps
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
impl SetValueOptional for Caps
[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList
[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
[src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList
[src]
impl<T> ToValue for T where
T: SetValue + ?Sized,
[src]
T: SetValue + ?Sized,
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized,
[src]
T: ToValue + SetValue + Send + ?Sized,