[][src]Struct gstreamer::toc::Toc

pub struct Toc { /* fields omitted */ }

Implementations

impl Toc[src]

pub unsafe fn from_glib_none(ptr: *const GstToc) -> Self[src]

pub unsafe fn from_glib_full(ptr: *const GstToc) -> Self[src]

pub unsafe fn from_glib_borrow(ptr: *const GstToc) -> Borrowed<Self>[src]

pub unsafe fn replace_ptr(&mut self, ptr: *mut GstToc)[src]

pub fn make_mut(&mut self) -> &mut TocRef[src]

pub fn get_mut(&mut self) -> Option<&mut TocRef>[src]

pub fn is_writable(&self) -> bool[src]

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

impl Toc[src]

pub fn new(scope: TocScope) -> Self[src]

Create a new Toc structure.

scope

scope of this TOC

Returns

newly allocated Toc structure, free it with gst_toc_unref.

Methods from Deref<Target = TocRef>

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

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

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

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

pub fn find_entry(&self, uid: &str) -> Option<TocEntry>[src]

pub fn get_entries(&self) -> Vec<TocEntry>[src]

pub fn get_tags(&self) -> Option<TagList>[src]

pub fn dump(&self)[src]

Trait Implementations

impl AsRef<TocRef> for Toc[src]

impl Borrow<TocRef> for Toc[src]

impl Clone for Toc[src]

impl Debug for Toc[src]

impl Deref for Toc[src]

type Target = TocRef

The resulting type after dereferencing.

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

impl Drop for Toc[src]

impl FromGlibContainerAsVec<*mut GstToc, *const *mut GstToc> for Toc[src]

impl FromGlibContainerAsVec<*mut GstToc, *mut *mut GstToc> for Toc[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstToc, *const *mut GstToc> for Toc[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstToc, *mut *mut GstToc> for Toc[src]

impl FromGlibPtrBorrow<*const GstToc> for Toc[src]

impl FromGlibPtrBorrow<*mut GstToc> for Toc[src]

impl FromGlibPtrFull<*const GstToc> for Toc[src]

impl FromGlibPtrFull<*mut GstToc> for Toc[src]

impl FromGlibPtrNone<*const GstToc> for Toc[src]

impl FromGlibPtrNone<*mut GstToc> for Toc[src]

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

impl GlibPtrDefault for Toc[src]

type GlibType = *mut GstToc

impl Send for Toc[src]

impl Serialize for Toc[src]

impl SetValue for Toc[src]

impl SetValueOptional for Toc[src]

impl StaticType for Toc[src]

impl Sync for Toc[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstToc> for Toc[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstToc> for Toc[src]

impl<'a> ToGlibPtr<'a, *const GstToc> for Toc[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstToc> for Toc[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstToc> for Toc[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for Toc

impl Unpin for Toc

impl UnwindSafe for Toc

Blanket Implementations

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

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

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

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

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

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

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

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> 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, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> ToValue for T where
    T: SetValue + ?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.