Struct gstreamer::toc::TocEntry [−][src]
pub struct TocEntry { /* fields omitted */ }
Implementations
impl TocEntry
[src]
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]
impl TocEntry
[src]pub fn new(type_: TocEntryType, uid: &str) -> Self
[src]
pub fn new(type_: TocEntryType, uid: &str) -> Self
[src]Create new crate::TocEntry
structure.
type_
entry type.
uid
unique ID (UID) in the whole TOC.
Returns
newly allocated crate::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 entry_type(&self) -> TocEntryType
[src]
pub fn uid(&self) -> &str
[src]
pub fn sub_entries(&self) -> Vec<TocEntry>
[src]
pub fn parent(&self) -> Option<TocEntry>
[src]
pub fn start_stop_times(&self) -> Option<(i64, i64)>
[src]
pub fn tags(&self) -> Option<TagList>
[src]
pub fn is_alternative(&self) -> bool
[src]
pub fn is_sequence(&self) -> bool
[src]
pub fn loop_(&self) -> Option<(TocLoopType, i32)>
[src]
Trait Implementations
impl AsRef<TocEntryRef> for TocEntry
[src]
impl AsRef<TocEntryRef> for TocEntry
[src]fn as_ref(&self) -> &TocEntryRef
[src]
fn as_ref(&self) -> &TocEntryRef
[src]Performs the conversion.
impl Borrow<TocEntryRef> for TocEntry
[src]
impl Borrow<TocEntryRef> for TocEntry
[src]fn borrow(&self) -> &TocEntryRef
[src]
fn borrow(&self) -> &TocEntryRef
[src]Immutably borrows from an owned value. Read more
impl Deref for TocEntry
[src]
impl Deref for TocEntry
[src]type Target = TocEntryRef
type Target = TocEntryRef
The resulting type after dereferencing.
impl<'de> Deserialize<'de> for TocEntry
[src]
impl<'de> Deserialize<'de> for TocEntry
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry
[src]unsafe fn from_glib_none_as_vec(ptr: *const *mut GstTocEntry) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(_: *const *mut GstTocEntry) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(_: *const *mut GstTocEntry) -> Vec<Self>
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry
[src]
impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry
[src]unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self>
[src]
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self>
[src]
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self>
[src]
impl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry
[src]
impl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry
[src]unsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry
[src]
impl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry
[src]unsafe fn from_glib_borrow(ptr: *mut GstTocEntry) -> Borrowed<Self>
[src]
unsafe fn from_glib_borrow(ptr: *mut GstTocEntry) -> Borrowed<Self>
[src]Safety Read more
impl FromGlibPtrFull<*const GstTocEntry> for TocEntry
[src]
impl FromGlibPtrFull<*const GstTocEntry> for TocEntry
[src]unsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
[src]
unsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
[src]Safety Read more
impl FromGlibPtrFull<*mut GstTocEntry> for TocEntry
[src]
impl FromGlibPtrFull<*mut GstTocEntry> for TocEntry
[src]unsafe fn from_glib_full(ptr: *mut GstTocEntry) -> Self
[src]
unsafe fn from_glib_full(ptr: *mut GstTocEntry) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*const GstTocEntry> for TocEntry
[src]
impl FromGlibPtrNone<*const GstTocEntry> for TocEntry
[src]unsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
[src]
unsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
[src]Safety Read more
impl FromGlibPtrNone<*mut GstTocEntry> for TocEntry
[src]
impl FromGlibPtrNone<*mut GstTocEntry> for TocEntry
[src]unsafe fn from_glib_none(ptr: *mut GstTocEntry) -> Self
[src]
unsafe fn from_glib_none(ptr: *mut GstTocEntry) -> Self
[src]Safety Read more
impl<'a> FromValue<'a> for TocEntry
[src]
impl<'a> FromValue<'a> for TocEntry
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for TocEntry
[src]
impl GlibPtrDefault for TocEntry
[src]impl StaticType for TocEntry
[src]
impl StaticType for TocEntry
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTocEntry> for TocEntry
[src]
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTocEntry> for TocEntry
[src]type Storage = (Vec<Stash<'a, *mut GstTocEntry, TocEntry>>, Option<Vec<*mut GstTocEntry>>)
fn to_glib_none_from_slice(
t: &'a [TocEntry]
) -> (*const *mut GstTocEntry, Self::Storage)
[src]
t: &'a [TocEntry]
) -> (*const *mut GstTocEntry, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [TocEntry]
) -> (*const *mut GstTocEntry, Self::Storage)
[src]
_: &'a [TocEntry]
) -> (*const *mut GstTocEntry, Self::Storage)
fn to_glib_full_from_slice(_: &[TocEntry]) -> *const *mut GstTocEntry
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTocEntry> for TocEntry
[src]
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTocEntry> for TocEntry
[src]type Storage = (Vec<Stash<'a, *mut GstTocEntry, Self>>, Option<Vec<*mut GstTocEntry>>)
fn to_glib_none_from_slice(
t: &'a [TocEntry]
) -> (*mut *mut GstTocEntry, Self::Storage)
[src]
t: &'a [TocEntry]
) -> (*mut *mut GstTocEntry, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [TocEntry]
) -> (*mut *mut GstTocEntry, Self::Storage)
[src]
t: &'a [TocEntry]
) -> (*mut *mut GstTocEntry, Self::Storage)
fn to_glib_full_from_slice(t: &[TocEntry]) -> *mut *mut GstTocEntry
[src]
impl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry
[src]
impl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstTocEntry, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstTocEntry, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstTocEntry
[src]
fn to_glib_full(&self) -> *const GstTocEntry
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry
[src]
impl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry
[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstTocEntry, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstTocEntry, Self>
[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstTocEntry
[src]
fn to_glib_full(&self) -> *mut GstTocEntry
[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry
[src]
impl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry
[src]impl ToValueOptional for TocEntry
[src]
impl ToValueOptional for TocEntry
[src]fn to_value_optional(s: Option<&Self>) -> Value
[src]
fn to_value_optional(s: Option<&Self>) -> Value
[src]Convert an Option
to a Value
.
impl Send for TocEntry
[src]
impl Sync for TocEntry
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[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<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
pub fn to_send_value(&self) -> SendValue
[src]Returns a SendValue
clone of self
.
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,