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

pub struct Toc(_);

Methods

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

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

pub fn copy(&self) -> Self[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 = GstRc<TocRef>>

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<TocRef>> for Toc[src]

impl AsRef<TocRef> for Toc[src]

impl Clone for Toc[src]

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

Performs copy-assignment from source. Read more

impl Into<GstRc<TocRef>> for Toc[src]

impl DerefMut for Toc[src]

impl Deref for Toc[src]

type Target = GstRc<TocRef>

The resulting type after dereferencing.

impl Debug for Toc[src]

impl Borrow<TocRef> for Toc[src]

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

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

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

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

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

type Storage = Stash<'a, *const GstToc, GstRc<TocRef>>

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

Transfer: container. Read more

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

type Storage = Stash<'a, *mut GstToc, GstRc<TocRef>>

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

Transfer: container. Read more

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

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

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

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

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

type Storage = StashMut<'a, *mut GstToc, GstRc<TocRef>>

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

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

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

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

impl GlibPtrDefault for Toc[src]

impl StaticType for Toc[src]

impl SetValue for Toc[src]

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

impl SetValueOptional for Toc[src]

impl Serialize for Toc[src]

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

Auto Trait Implementations

impl Send for Toc

impl Sync for Toc

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, 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]