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

#[repr(transparent)]
pub struct TagListRef(_);

Implementations

impl TagListRef[src]

pub unsafe fn as_ptr(&self) -> *const GstTagList[src]

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

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

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

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

impl TagListRef[src]

pub fn add<'a, T: Tag<'a>>(&mut self, value: &T::TagType, mode: TagMergeMode)[src]

pub fn add_generic<T: ToSendValue + Sync>(
    &mut self,
    tag_name: &str,
    value: T,
    mode: TagMergeMode
) -> Result<(), TagError>
[src]

pub fn add_value(
    &mut self,
    tag_name: &str,
    value: &SendValue,
    mode: TagMergeMode
) -> Result<(), TagError>
[src]

pub fn remove<'a, T: Tag<'a>>(&mut self)[src]

pub fn remove_generic(&mut self, tag_name: &str)[src]

pub fn get<'a, T: Tag<'a>>(&self) -> Option<TagValue<T::TagType>>[src]

pub fn 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 index<'a, T: Tag<'a>>(
    &self,
    idx: u32
) -> Option<&'a TagValue<T::TagType>>
[src]

pub fn index_generic<'a>(
    &'a self,
    tag_name: &str,
    idx: u32
) -> Option<&'a SendValue>
[src]

pub fn size<'a, T: Tag<'a>>(&self) -> u32[src]

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

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

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

pub fn iter_generic(&self) -> GenericIter<'_>

Notable traits for GenericIter<'a>

impl<'a> Iterator for GenericIter<'a> type Item = (&'a str, GenericTagIter<'a>);
[src]

pub fn iter(&self) -> Iter<'_>

Notable traits for Iter<'a>

impl<'a> Iterator for Iter<'a> type Item = (&'a str, SendValue);
[src]

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

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

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

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

Trait Implementations

impl AsRef<TagListRef> for TagList[src]

fn as_ref(&self) -> &TagListRef[src]

Performs the conversion.

impl Borrow<TagListRef> for TagList[src]

fn borrow(&self) -> &TagListRef[src]

Immutably borrows from an owned value. Read more

impl Debug for TagListRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for TagListRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> FromValue<'a> for &'a TagListRef[src]

type Checker = GenericValueTypeOrNoneChecker<Self>

Value type checker.

unsafe fn from_value(value: &'a Value) -> Self[src]

Get the contained value from a Value. Read more

impl GlibPtrDefault for TagListRef[src]

type GlibType = *mut GstTagList

impl PartialEq<TagListRef> for TagListRef[src]

fn eq(&self, other: &TagListRef) -> bool[src]

This method tests for self and other values to be equal, and is used by ==. Read more

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Serialize for TagListRef[src]

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>[src]

Serialize this value into the given Serde serializer. Read more

impl StaticType for TagListRef[src]

fn static_type() -> Type[src]

Returns the type identifier of Self.

impl ToOwned for TagListRef[src]

type Owned = TagList

The resulting type after obtaining ownership.

fn to_owned(&self) -> TagList[src]

Creates owned data from borrowed data, usually by cloning. Read more

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 Eq for TagListRef[src]

impl Send for TagListRef[src]

impl Sync for TagListRef[src]

Auto Trait Implementations

impl RefUnwindSafe for TagListRef

impl Unpin for TagListRef

impl UnwindSafe for TagListRef

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

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

Converts the given value to a String. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.