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

pub struct TocEntry { /* fields omitted */ }

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

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

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

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

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

pub unsafe fn into_ptr(self) -> *mut GstTocEntry[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 = TocEntryRef>

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

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

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

pub fn get_entry_type(&self) -> TocEntryType[src]

pub fn get_uid(&self) -> &str[src]

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

pub fn get_parent(&self) -> Option<TocEntry>[src]

pub fn get_start_stop_times(&self) -> Option<(i64, i64)>[src]

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

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

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

pub fn get_loop(&self) -> Option<(TocLoopType, i32)>[src]

Trait Implementations

impl AsRef<TocEntryRef> for TocEntry[src]

impl Borrow<TocEntryRef> for TocEntry[src]

impl Clone for TocEntry[src]

impl Debug for TocEntry[src]

impl Deref for TocEntry[src]

type Target = TocEntryRef

The resulting type after dereferencing.

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

impl Drop for TocEntry[src]

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

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

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

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

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

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

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

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

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

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

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

impl GlibPtrDefault for TocEntry[src]

impl Send for TocEntry[src]

impl Serialize for TocEntry[src]

impl SetValue for TocEntry[src]

impl SetValueOptional for TocEntry[src]

impl StaticType for TocEntry[src]

impl Sync for TocEntry[src]

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

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

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

type Storage = &'a Self

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

type Storage = &'a Self

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

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for TocEntry

impl Unpin for TocEntry

impl UnwindSafe for TocEntry

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.