[][src]Struct gstreamer::tags::TagListRef

pub struct TagListRef(_);


impl TagListRef[src]

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

pub fn get_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 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[src]

pub fn get_size_by_name(&self, tag_name: &str) -> u32[src]

Important traits for TagIter<'a, T>
pub fn iter_tag<'a, T: Tag<'a>>(&'a self) -> TagIter<'a, T>[src]

Important traits for GenericTagIter<'a>
pub fn iter_tag_generic<'a>(&'a self, tag_name: &'a str) -> GenericTagIter<'a>[src]

Important traits for GenericIter<'a>
pub fn iter_generic(&self) -> GenericIter[src]

Important traits for Iter<'a>
pub fn iter(&self) -> Iter[src]

pub fn to_string(&self) -> String[src]

pub fn insert(&mut self, other: &TagListRef, mode: TagMergeMode)[src]

pub fn merge(&self, other: &TagListRef, mode: TagMergeMode) -> TagList[src]

pub fn get_scope(&self) -> TagScope[src]

pub fn set_scope(&mut self, scope: TagScope)[src]

Trait Implementations

impl MiniObject for TagListRef[src]

type GstType = GstTagList

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

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

impl AsRef<TagListRef> for TagList[src]

impl Eq for TagListRef[src]

impl Sync for TagListRef[src]

impl ToOwned for TagListRef[src]

type Owned = TagList

The resulting type after obtaining ownership.

fn clone_into(&self, target: &mut Self::Owned)[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 Send for TagListRef[src]

impl PartialEq<TagListRef> for TagListRef[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Display for TagListRef[src]

impl Debug for TagListRef[src]

impl Borrow<TagListRef> for TagList[src]

impl StaticType for TagListRef[src]

impl Serialize for TagListRef[src]

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

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