[][src]Struct gstreamer::toc::TocEntry

pub struct TocEntry(_);

Methods

impl TocEntry[src]

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

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

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

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

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

impl TocEntry[src]

pub fn new(type_: TocEntryType, uid: &str) -> Self[src]

Create new TocEntry structure.

type_

entry type.

uid

unique ID (UID) in the whole TOC.

Returns

newly allocated TocEntry structure, free it with gst_toc_entry_unref.

Methods from Deref<Target = GstRc<TocEntryRef>>

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<TocEntryRef>> for TocEntry[src]

impl AsRef<TocEntryRef> for TocEntry[src]

impl Clone for TocEntry[src]

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

Performs copy-assignment from source. Read more

impl Into<GstRc<TocEntryRef>> for TocEntry[src]

impl DerefMut for TocEntry[src]

impl Deref for TocEntry[src]

type Target = GstRc<TocEntryRef>

The resulting type after dereferencing.

impl Debug for TocEntry[src]

impl Borrow<TocEntryRef> for TocEntry[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTocEntry> for TocEntry[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTocEntry> for TocEntry[src]

impl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry[src]

type Storage = Stash<'a, *const GstTocEntry, GstRc<TocEntryRef>>

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

Transfer: container. Read more

impl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry[src]

type Storage = Stash<'a, *mut GstTocEntry, GstRc<TocEntryRef>>

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

Transfer: container. Read more

impl FromGlibPtrFull<*const GstTocEntry> for TocEntry[src]

impl FromGlibPtrFull<*mut GstTocEntry> for TocEntry[src]

impl FromGlibContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry[src]

impl FromGlibContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry[src]

impl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry[src]

impl FromGlibPtrNone<*const GstTocEntry> for TocEntry[src]

impl FromGlibPtrNone<*mut GstTocEntry> for TocEntry[src]

impl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry[src]

impl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry[src]

impl GlibPtrDefault for TocEntry[src]

impl StaticType for TocEntry[src]

impl SetValue for TocEntry[src]

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

impl SetValueOptional for TocEntry[src]

impl Serialize for TocEntry[src]

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

Auto Trait Implementations

impl Send for TocEntry

impl Sync for TocEntry

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]