[][src]Struct gstreamer::tags::TagList

pub struct TagList(_);

Methods

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) -> Self[src]

pub unsafe fn into_ptr(self) -> *mut GstTagList[src]

pub fn copy(&self) -> Self[src]

impl TagList[src]

pub fn new() -> Self[src]

Creates a new taglist and appends the values for the given tags. It expects tag-value pairs like TagList::add, and a None terminator after the last pair. The type of the values is implicit and is documented in the API reference, but can also be queried at runtime with gst_tag_get_type. It is an error to pass a value of a type not matching the tag type into this function. The tag list will make copies of any arguments passed (e.g. strings, buffers).

After creation you might also want to set a TagScope on the returned taglist to signal if the contained tags are global or stream tags. By default stream scope is assumes. See TagList::set_scope.

Free-function: gst_tag_list_unref

tag

tag

Returns

a new TagList. Free with gst_tag_list_unref when no longer needed.

Methods from Deref<Target = GstRc<TagListRef>>

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]

pub fn add_parent<U: MiniObject>(&self, parent: &U)[src]

pub fn remove_parent<U: MiniObject>(&self, parent: &U)[src]

Trait Implementations

impl From<GstRc<TagListRef>> for TagList[src]

impl AsRef<TagListRef> for TagList[src]

impl Clone for TagList[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for TagList[src]

impl Default for TagList[src]

impl Into<GstRc<TagListRef>> for TagList[src]

impl PartialEq<TagList> for TagList[src]

impl Display for TagList[src]

impl DerefMut for TagList[src]

impl Deref for TagList[src]

type Target = GstRc<TagListRef>

The resulting type after dereferencing.

impl Debug for TagList[src]

impl Borrow<TagListRef> for TagList[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTagList> for TagList[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTagList> for TagList[src]

impl<'a> ToGlibPtr<'a, *const GstTagList> for TagList[src]

type Storage = Stash<'a, *const GstTagList, GstRc<TagListRef>>

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl<'a> ToGlibPtr<'a, *mut GstTagList> for TagList[src]

type Storage = Stash<'a, *mut GstTagList, GstRc<TagListRef>>

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

impl FromGlibPtrFull<*const GstTagList> for TagList[src]

impl FromGlibPtrFull<*mut GstTagList> for TagList[src]

impl FromGlibContainerAsVec<*mut GstTagList, *mut *mut GstTagList> for TagList[src]

impl FromGlibContainerAsVec<*mut GstTagList, *const *mut GstTagList> for TagList[src]

impl<'a> ToGlibPtrMut<'a, *mut GstTagList> for TagList[src]

impl FromGlibPtrNone<*const GstTagList> for TagList[src]

impl FromGlibPtrNone<*mut GstTagList> for TagList[src]

impl FromGlibPtrBorrow<*const GstTagList> for TagList[src]

impl FromGlibPtrBorrow<*mut GstTagList> for TagList[src]

impl GlibPtrDefault for TagList[src]

impl StaticType for TagList[src]

impl SetValue for TagList[src]

impl<'a> FromValueOptional<'a> for TagList[src]

impl SetValueOptional for TagList[src]

impl Serialize for TagList[src]

impl<'de> Deserialize<'de> for TagList[src]

Auto Trait Implementations

impl Send for TagList

impl Sync for TagList

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]