#[repr(transparent)]pub struct TagList { /* private fields */ }
Implementations
sourceimpl TagList
impl TagList
pub unsafe fn from_glib_none(ptr: *const GstTagList) -> Self
pub unsafe fn from_glib_full(ptr: *const GstTagList) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstTagList)
pub fn make_mut(&mut self) -> &mut TagListRef
pub fn get_mut(&mut self) -> Option<&mut TagListRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
pub unsafe fn into_ptr(self) -> *mut GstTagList
Methods from Deref<Target = TagListRef>
pub unsafe fn as_ptr(&self) -> *const GstTagList
pub unsafe fn as_mut_ptr(&self) -> *mut GstTagList
pub fn copy(&self) -> TagList
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn get<'a, T: Tag<'a>>(&self) -> Option<TagValue<T::TagType>>
pub fn generic(&self, tag_name: &str) -> Option<SendValue>
pub fn nth_tag_name(&self, idx: u32) -> &str
pub fn index<'a, T: Tag<'a>>(
&self,
idx: u32
) -> Option<&'a TagValue<T::TagType>>
pub fn index_generic<'a>(
&'a self,
tag_name: &str,
idx: u32
) -> Option<&'a SendValue>
pub fn size<'a, T: Tag<'a>>(&self) -> u32
pub fn size_by_name(&self, tag_name: &str) -> u32
pub fn iter_tag<'a, T: Tag<'a>>(&'a self) -> TagIter<'a, T>ⓘNotable traits for TagIter<'a, T>impl<'a, T: Tag<'a>> Iterator for TagIter<'a, T> where
<T as Tag<'a>>::TagType: 'a,
T: 'a, type Item = &'a TagValue<T::TagType>;
<T as Tag<'a>>::TagType: 'a,
T: 'a, type Item = &'a TagValue<T::TagType>;
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;
pub fn iter_generic(&self) -> GenericIter<'_>ⓘNotable traits for GenericIter<'a>impl<'a> Iterator for GenericIter<'a> type Item = (&'a str, GenericTagIter<'a>);
pub fn iter(&self) -> Iter<'_>ⓘNotable traits for Iter<'a>impl<'a> Iterator for Iter<'a> type Item = (&'a str, SendValue);
pub fn merge(&self, other: &TagListRef, mode: TagMergeMode) -> TagList
pub fn scope(&self) -> TagScope
Trait Implementations
sourceimpl AsRef<TagListRef> for TagList
impl AsRef<TagListRef> for TagList
sourcefn as_ref(&self) -> &TagListRef
fn as_ref(&self) -> &TagListRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<TagListRef> for TagList
impl Borrow<TagListRef> for TagList
sourcefn borrow(&self) -> &TagListRef
fn borrow(&self) -> &TagListRef
Immutably borrows from an owned value. Read more
sourceimpl Deref for TagList
impl Deref for TagList
type Target = TagListRef
type Target = TagListRef
The resulting type after dereferencing.
sourceimpl<'de> Deserialize<'de> for TagList
impl<'de> Deserialize<'de> for TagList
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromGlibContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList
impl FromGlibContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstTagList,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstTagList,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstTagList,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList
impl FromGlibContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstTagList,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstTagList,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstTagList,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList
impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstTagList) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(_: *const *mut GstTagList) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(_: *const *mut GstTagList) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList
impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrBorrow<*const GstTagList> for TagList
impl FromGlibPtrBorrow<*const GstTagList> for TagList
sourceunsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>
Safety Read more
sourceimpl FromGlibPtrBorrow<*mut GstTagList> for TagList
impl FromGlibPtrBorrow<*mut GstTagList> for TagList
sourceunsafe fn from_glib_borrow(ptr: *mut GstTagList) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstTagList) -> Borrowed<Self>
Safety Read more
sourceimpl FromGlibPtrFull<*const GstTagList> for TagList
impl FromGlibPtrFull<*const GstTagList> for TagList
sourceunsafe fn from_glib_full(ptr: *const GstTagList) -> Self
unsafe fn from_glib_full(ptr: *const GstTagList) -> Self
Safety Read more
sourceimpl FromGlibPtrFull<*mut GstTagList> for TagList
impl FromGlibPtrFull<*mut GstTagList> for TagList
sourceunsafe fn from_glib_full(ptr: *mut GstTagList) -> Self
unsafe fn from_glib_full(ptr: *mut GstTagList) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*const GstTagList> for TagList
impl FromGlibPtrNone<*const GstTagList> for TagList
sourceunsafe fn from_glib_none(ptr: *const GstTagList) -> Self
unsafe fn from_glib_none(ptr: *const GstTagList) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*mut GstTagList> for TagList
impl FromGlibPtrNone<*mut GstTagList> for TagList
sourceunsafe fn from_glib_none(ptr: *mut GstTagList) -> Self
unsafe fn from_glib_none(ptr: *mut GstTagList) -> Self
Safety Read more
sourceimpl<'a> FromValue<'a> for TagList
impl<'a> FromValue<'a> for TagList
type Checker = GenericValueTypeOrNoneChecker<TagList>
type Checker = GenericValueTypeOrNoneChecker<TagList>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl<'a> FromValue<'a> for &'a TagList
impl<'a> FromValue<'a> for &'a TagList
type Checker = GenericValueTypeOrNoneChecker<&'a TagList>
type Checker = GenericValueTypeOrNoneChecker<&'a TagList>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl GlibPtrDefault for TagList
impl GlibPtrDefault for TagList
type GlibType = *mut GstTagList
sourceimpl IsMiniObject for TagList
impl IsMiniObject for TagList
type RefType = TagListRef
type FfiType = GstTagList
sourceimpl StaticType for TagList
impl StaticType for TagList
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList
type Storage = (Vec<Stash<'a, *mut GstTagList, TagList>, Global>, Option<Vec<*mut GstTagList, Global>>)
fn to_glib_none_from_slice(
t: &'a [TagList]
) -> (*const *mut GstTagList, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [TagList]
) -> (*const *mut GstTagList, Self::Storage)
fn to_glib_full_from_slice(_: &[TagList]) -> *const *mut GstTagList
sourceimpl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList
type Storage = (Vec<Stash<'a, *mut GstTagList, TagList>, Global>, Option<Vec<*mut GstTagList, Global>>)
fn to_glib_none_from_slice(
t: &'a [TagList]
) -> (*mut *mut GstTagList, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [TagList]
) -> (*mut *mut GstTagList, Self::Storage)
fn to_glib_full_from_slice(t: &[TagList]) -> *mut *mut GstTagList
sourceimpl<'a> ToGlibPtr<'a, *const GstTagList> for TagList
impl<'a> ToGlibPtr<'a, *const GstTagList> for TagList
type Storage = &'a TagList
sourcefn to_glib_none(&'a self) -> Stash<'a, *const GstTagList, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstTagList, Self>
Transfer: none. Read more
sourcefn to_glib_full(&self) -> *const GstTagList
fn to_glib_full(&self) -> *const GstTagList
Transfer: full. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourceimpl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList
impl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList
type Storage = &'a TagList
sourcefn to_glib_none(&'a self) -> Stash<'a, *mut GstTagList, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstTagList, Self>
Transfer: none. Read more
sourcefn to_glib_full(&self) -> *mut GstTagList
fn to_glib_full(&self) -> *mut GstTagList
Transfer: full. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourceimpl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList
impl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList
type Storage = &'a mut TagList
sourcefn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstTagList, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstTagList, Self>
Transfer: none. Read more
sourceimpl ToValueOptional for TagList
impl ToValueOptional for TagList
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option
to a Value
.
impl Eq for TagList
impl Send for TagList
impl Sync for TagList
impl ValueTypeOptional for TagList
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.