Struct gstreamer::tags::TagListRef
source · pub struct TagListRef(_);
Implementations
sourceimpl TagListRef
impl TagListRef
pub fn add<'a, T: Tag<'a>>(&mut self, value: &T::TagType, mode: TagMergeMode)where
T::TagType: ToSendValue,
pub fn add_generic<T>(
&mut self,
tag_name: &str,
value: &T,
mode: TagMergeMode
) -> Result<(), TagError>where
T: ToSendValue,
pub fn get<'a, T: Tag<'a>>(&self) -> Option<TypedValue<T::TagType>>
pub fn get_generic(&self, tag_name: &str) -> Option<SendValue>
pub fn nth_tag_name(&self, idx: u32) -> &str
pub fn get_index<'a, T: Tag<'a>>(
&'a self,
idx: u32
) -> Option<&'a TypedValue<T::TagType>>
pub fn get_index_generic<'a>(
&'a self,
tag_name: &str,
idx: u32
) -> Option<&'a SendValue>
pub fn get_size<'a, T: Tag<'a>>(&self) -> u32
pub fn get_size_by_name(&self, tag_name: &str) -> u32
pub fn iter_tag<'a, T: Tag<'a>>(&'a self) -> TagIterator<'a, T>ⓘNotable traits for TagIterator<'a, T>impl<'a, T: Tag<'a>> Iterator for TagIterator<'a, T>where
<T as Tag<'a>>::TagType: 'a,
T: 'a, type Item = &'a TypedValue<T::TagType>;
<T as Tag<'a>>::TagType: 'a,
T: 'a, type Item = &'a TypedValue<T::TagType>;
pub fn iter_tag_generic<'a>(
&'a self,
tag_name: &'a str
) -> GenericTagIterator<'a>ⓘNotable traits for GenericTagIterator<'a>impl<'a> Iterator for GenericTagIterator<'a> type Item = &'a SendValue;
pub fn iter_tag_list(&self) -> TagListIterator<'_>ⓘNotable traits for TagListIterator<'a>impl<'a> Iterator for TagListIterator<'a> type Item = (&'a str, GenericTagIterator<'a>);
pub fn to_string(&self) -> String
pub fn insert(&mut self, other: &TagListRef, mode: TagMergeMode)
pub fn merge(&self, other: &TagListRef, mode: TagMergeMode) -> TagList
Trait Implementations
sourceimpl Debug for TagListRef
impl Debug for TagListRef
sourceimpl Display for TagListRef
impl Display for TagListRef
sourceimpl MiniObject for TagListRef
impl MiniObject for TagListRef
type GstType = GstTagList
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
sourceimpl PartialEq<TagListRef> for TagListRef
impl PartialEq<TagListRef> for TagListRef
sourcefn eq(&self, other: &TagListRef) -> bool
fn eq(&self, other: &TagListRef) -> bool
sourceimpl StaticType for TagListRef
impl StaticType for TagListRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.sourceimpl ToOwned for TagListRef
impl ToOwned for TagListRef
type Owned = GstRc<TagListRef>
type Owned = GstRc<TagListRef>
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> GstRc<TagListRef>
fn to_owned(&self) -> GstRc<TagListRef>
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for TagListRef
impl Send for TagListRef
impl Sync for TagListRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more