Struct gstreamer::tags::TagList [−][src]
pub struct TagList { /* fields omitted */ }Implementations
impl TagList[src]
impl TagList[src]pub unsafe fn from_glib_none(ptr: *const GstTagList) -> Self[src]
pub unsafe fn from_glib_full(ptr: *const GstTagList) -> Self[src]
pub unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>[src]
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstTagList)[src]
pub fn make_mut(&mut self) -> &mut TagListRef[src]
pub fn get_mut(&mut self) -> Option<&mut TagListRef>[src]
pub fn is_writable(&self) -> bool[src]
pub unsafe fn into_ptr(self) -> *mut GstTagList[src]
Methods from Deref<Target = TagListRef>
pub unsafe fn as_ptr(&self) -> *const GstTagList[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstTagList[src]
pub fn copy(&self) -> TagList[src]
pub fn get<'a, T: Tag<'a>>(&self) -> Option<TagValue<T::TagType>>[src]
pub fn generic(&self, tag_name: &str) -> Option<SendValue>[src]
pub fn n_tags(&self) -> i32[src]
pub fn nth_tag_name(&self, idx: u32) -> &str[src]
pub fn index<'a, T: Tag<'a>>(
&self,
idx: u32
) -> Option<&'a TagValue<T::TagType>>[src]
&self,
idx: u32
) -> Option<&'a TagValue<T::TagType>>
pub fn index_generic<'a>(
&'a self,
tag_name: &str,
idx: u32
) -> Option<&'a SendValue>[src]
&'a self,
tag_name: &str,
idx: u32
) -> Option<&'a SendValue>
pub fn size<'a, T: Tag<'a>>(&self) -> u32[src]
pub fn size_by_name(&self, tag_name: &str) -> u32[src]
pub fn iter_tag<'a, T: Tag<'a>>(&'a self) -> TagIter<'a, T>ⓘ[src]
pub fn iter_tag_generic<'a>(&'a self, tag_name: &'a str) -> GenericTagIter<'a>ⓘNotable traits for GenericTagIter<'a>
impl<'a> Iterator for GenericTagIter<'a> type Item = &'a SendValue;[src]
Notable traits for GenericTagIter<'a>
impl<'a> Iterator for GenericTagIter<'a> type Item = &'a SendValue;pub fn iter_generic(&self) -> GenericIter<'_>ⓘNotable traits for GenericIter<'a>
impl<'a> Iterator for GenericIter<'a> type Item = (&'a str, GenericTagIter<'a>);[src]
Notable traits for GenericIter<'a>
impl<'a> Iterator for GenericIter<'a> type Item = (&'a str, GenericTagIter<'a>);pub fn iter(&self) -> Iter<'_>ⓘ[src]
pub fn merge(&self, other: &TagListRef, mode: TagMergeMode) -> TagList[src]
pub fn scope(&self) -> TagScope[src]
Trait Implementations
impl AsRef<TagListRef> for TagList[src]
impl AsRef<TagListRef> for TagList[src]fn as_ref(&self) -> &TagListRef[src]
fn as_ref(&self) -> &TagListRef[src]Performs the conversion.
impl Borrow<TagListRef> for TagList[src]
impl Borrow<TagListRef> for TagList[src]fn borrow(&self) -> &TagListRef[src]
fn borrow(&self) -> &TagListRef[src]Immutably borrows from an owned value. Read more
impl Deref for TagList[src]
impl Deref for TagList[src]type Target = TagListRef
type Target = TagListRefThe resulting type after dereferencing.
impl<'de> Deserialize<'de> for TagList[src]
impl<'de> Deserialize<'de> for TagList[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList[src]unsafe fn from_glib_none_as_vec(ptr: *const *mut GstTagList) -> Vec<Self>[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstTagList) -> Vec<Self>[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstTagList) -> Vec<Self>[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList[src]unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>[src]
impl FromGlibPtrBorrow<*const GstTagList> for TagList[src]
impl FromGlibPtrBorrow<*const GstTagList> for TagList[src]unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>[src]
unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstTagList> for TagList[src]
impl FromGlibPtrBorrow<*mut GstTagList> for TagList[src]unsafe fn from_glib_borrow(ptr: *mut GstTagList) -> Borrowed<Self>[src]
unsafe fn from_glib_borrow(ptr: *mut GstTagList) -> Borrowed<Self>[src]Safety Read more
impl FromGlibPtrFull<*const GstTagList> for TagList[src]
impl FromGlibPtrFull<*const GstTagList> for TagList[src]unsafe fn from_glib_full(ptr: *const GstTagList) -> Self[src]
unsafe fn from_glib_full(ptr: *const GstTagList) -> Self[src]Safety Read more
impl FromGlibPtrFull<*mut GstTagList> for TagList[src]
impl FromGlibPtrFull<*mut GstTagList> for TagList[src]unsafe fn from_glib_full(ptr: *mut GstTagList) -> Self[src]
unsafe fn from_glib_full(ptr: *mut GstTagList) -> Self[src]Safety Read more
impl FromGlibPtrNone<*const GstTagList> for TagList[src]
impl FromGlibPtrNone<*const GstTagList> for TagList[src]unsafe fn from_glib_none(ptr: *const GstTagList) -> Self[src]
unsafe fn from_glib_none(ptr: *const GstTagList) -> Self[src]Safety Read more
impl FromGlibPtrNone<*mut GstTagList> for TagList[src]
impl FromGlibPtrNone<*mut GstTagList> for TagList[src]unsafe fn from_glib_none(ptr: *mut GstTagList) -> Self[src]
unsafe fn from_glib_none(ptr: *mut GstTagList) -> Self[src]Safety Read more
impl<'a> FromValue<'a> for TagList[src]
impl<'a> FromValue<'a> for TagList[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>Value type checker.
unsafe fn from_value(value: &'a Value) -> Self[src]
unsafe fn from_value(value: &'a Value) -> Self[src]Get the contained value from a Value. Read more
impl GlibPtrDefault for TagList[src]
impl GlibPtrDefault for TagList[src]impl StaticType for TagList[src]
impl StaticType for TagList[src]fn static_type() -> Type[src]
fn static_type() -> Type[src]Returns the type identifier of Self.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList[src]type Storage = (Vec<Stash<'a, *mut GstTagList, TagList>>, Option<Vec<*mut GstTagList>>)
fn to_glib_none_from_slice(
t: &'a [TagList]
) -> (*const *mut GstTagList, Self::Storage)[src]
t: &'a [TagList]
) -> (*const *mut GstTagList, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [TagList]
) -> (*const *mut GstTagList, Self::Storage)[src]
_: &'a [TagList]
) -> (*const *mut GstTagList, Self::Storage)
fn to_glib_full_from_slice(_: &[TagList]) -> *const *mut GstTagList[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList[src]type Storage = (Vec<Stash<'a, *mut GstTagList, Self>>, Option<Vec<*mut GstTagList>>)
fn to_glib_none_from_slice(
t: &'a [TagList]
) -> (*mut *mut GstTagList, Self::Storage)[src]
t: &'a [TagList]
) -> (*mut *mut GstTagList, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [TagList]
) -> (*mut *mut GstTagList, Self::Storage)[src]
t: &'a [TagList]
) -> (*mut *mut GstTagList, Self::Storage)
fn to_glib_full_from_slice(t: &[TagList]) -> *mut *mut GstTagList[src]
impl<'a> ToGlibPtr<'a, *const GstTagList> for TagList[src]
impl<'a> ToGlibPtr<'a, *const GstTagList> for TagList[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstTagList, Self>[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstTagList, Self>[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstTagList[src]
fn to_glib_full(&self) -> *const GstTagList[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList[src]
impl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstTagList, Self>[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstTagList, Self>[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstTagList[src]
fn to_glib_full(&self) -> *mut GstTagList[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList[src]
impl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList[src]impl ToValueOptional for TagList[src]
impl ToValueOptional for TagList[src]fn to_value_optional(s: Option<&Self>) -> Value[src]
fn to_value_optional(s: Option<&Self>) -> Value[src]Convert an Option to a Value.
impl Eq for TagList[src]
impl Send for TagList[src]
impl Sync for TagList[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> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. 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<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
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>,