#[repr(transparent)]pub struct TagList {
obj: NonNull<GstTagList>,
}
Fields§
§obj: NonNull<GstTagList>
Implementations§
source§impl TagList
impl TagList
pub unsafe fn from_glib_ptr_borrow<'a>( ptr: *const *const GstTagList, ) -> &'a Self
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
Methods from Deref<Target = TagListRef>§
pub fn as_ptr(&self) -> *const GstTagList
pub 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: impl IntoGStr) -> Option<SendValue>
pub fn nth_tag_name(&self, idx: u32) -> Option<&GStr>
pub fn index<'a, T: Tag<'a>>( &'a self, idx: u32, ) -> Option<&'a TagValue<T::TagType>>
pub fn index_generic( &self, tag_name: impl IntoGStr, idx: u32, ) -> Option<&SendValue>
pub fn size<'a, T: Tag<'a>>(&self) -> u32
pub fn size_by_name(&self, tag_name: impl IntoGStr) -> u32
pub fn iter_tag<'a, T: Tag<'a>>(&'a self) -> TagIter<'a, T> ⓘ
pub fn iter_tag_generic(&self, tag_name: impl IntoGStr) -> GenericTagIter<'_> ⓘ
pub fn iter_generic(&self) -> GenericIter<'_> ⓘ
pub fn iter(&self) -> Iter<'_> ⓘ
pub fn merge(&self, other: &TagListRef, mode: TagMergeMode) -> TagList
pub fn scope(&self) -> TagScope
Trait Implementations§
source§impl AsRef<TagListRef> for TagList
impl AsRef<TagListRef> for TagList
source§fn as_ref(&self) -> &TagListRef
fn as_ref(&self) -> &TagListRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<TagListRef> for TagList
impl Borrow<TagListRef> for TagList
source§fn borrow(&self) -> &TagListRef
fn borrow(&self) -> &TagListRef
Immutably borrows from an owned value. Read more
source§impl 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>
unsafe fn from_glib_container_num_as_vec( _: *const *mut GstTagList, _: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( _: *const *mut GstTagList, _: usize, ) -> Vec<Self>
source§impl 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>
unsafe fn from_glib_container_num_as_vec( ptr: *mut *mut GstTagList, num: usize, ) -> Vec<Self>
unsafe fn from_glib_full_num_as_vec( ptr: *mut *mut GstTagList, num: usize, ) -> Vec<Self>
source§impl 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>
unsafe fn from_glib_container_as_vec(_: *const *mut GstTagList) -> Vec<Self>
unsafe fn from_glib_full_as_vec(_: *const *mut GstTagList) -> Vec<Self>
source§impl 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>
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstTagList) -> Vec<Self>
source§impl FromGlibPtrBorrow<*const GstTagList> for TagList
impl FromGlibPtrBorrow<*const GstTagList> for TagList
source§unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstTagList) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstTagList> for TagList
impl FromGlibPtrBorrow<*mut GstTagList> for TagList
source§unsafe fn from_glib_borrow(ptr: *mut GstTagList) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstTagList) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstTagList> for TagList
impl FromGlibPtrFull<*const GstTagList> for TagList
source§unsafe fn from_glib_full(ptr: *const GstTagList) -> Self
unsafe fn from_glib_full(ptr: *const GstTagList) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstTagList> for TagList
impl FromGlibPtrFull<*mut GstTagList> for TagList
source§unsafe fn from_glib_full(ptr: *mut GstTagList) -> Self
unsafe fn from_glib_full(ptr: *mut GstTagList) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstTagList> for TagList
impl FromGlibPtrNone<*const GstTagList> for TagList
source§unsafe fn from_glib_none(ptr: *const GstTagList) -> Self
unsafe fn from_glib_none(ptr: *const GstTagList) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstTagList> for TagList
impl FromGlibPtrNone<*mut GstTagList> for TagList
source§unsafe fn from_glib_none(ptr: *mut GstTagList) -> Self
unsafe fn from_glib_none(ptr: *mut GstTagList) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a TagList
impl<'a> FromValue<'a> for &'a TagList
source§type Checker = GenericValueTypeOrNoneChecker<&'a TagList>
type Checker = GenericValueTypeOrNoneChecker<&'a TagList>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for TagList
impl<'a> FromValue<'a> for TagList
source§type Checker = GenericValueTypeOrNoneChecker<TagList>
type Checker = GenericValueTypeOrNoneChecker<TagList>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for TagList
impl GlibPtrDefault for TagList
type GlibType = *mut GstTagList
source§impl HasParamSpec for TagList
impl HasParamSpec for TagList
source§impl IntoGlibPtr<*mut GstTagList> for TagList
impl IntoGlibPtr<*mut GstTagList> for TagList
source§unsafe fn into_glib_ptr(self) -> *mut GstTagList
unsafe fn into_glib_ptr(self) -> *mut GstTagList
Transfer: full.
source§impl IsMiniObject for TagList
impl IsMiniObject for TagList
type RefType = TagListRef
type FfiType = GstTagList
source§impl PartialEq<TagList> for TagListRef
impl PartialEq<TagList> for TagListRef
source§impl PartialEq<TagListRef> for TagList
impl PartialEq<TagListRef> for TagList
source§impl StaticType for TagList
impl StaticType for TagList
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList
type Storage = (PhantomData<&'a [TagList]>, Option<Vec<*mut GstTagList>>)
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
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList
type Storage = (PhantomData<&'a [TagList]>, Option<Vec<*mut GstTagList>>)
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
source§impl<'a> ToGlibPtr<'a, *const GstTagList> for TagList
impl<'a> ToGlibPtr<'a, *const GstTagList> for TagList
type Storage = PhantomData<&'a TagList>
source§fn 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
source§fn to_glib_full(&self) -> *const GstTagList
fn to_glib_full(&self) -> *const GstTagList
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList
impl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList
type Storage = PhantomData<&'a TagList>
source§fn 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
source§fn to_glib_full(&self) -> *mut GstTagList
fn to_glib_full(&self) -> *mut GstTagList
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList
impl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList
type Storage = PhantomData<&'a mut TagList>
source§fn 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
source§impl ToValueOptional for TagList
impl ToValueOptional for TagList
source§fn 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 TransparentPtrType for TagList
impl ValueTypeOptional for TagList
Auto Trait Implementations§
impl Freeze for TagList
impl RefUnwindSafe for TagList
impl Unpin for TagList
impl UnwindSafe for TagList
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.