#[repr(transparent)]pub struct TocEntry { /* private fields */ }
Implementations§
source§impl TocEntry
impl TocEntry
pub unsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
pub unsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
pub unsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
pub unsafe fn replace_ptr(&mut self, ptr: *mut GstTocEntry)
pub fn make_mut(&mut self) -> &mut TocEntryRef
pub fn get_mut(&mut self) -> Option<&mut TocEntryRef>
pub fn is_writable(&self) -> bool
pub fn upcast(self) -> MiniObject
Methods from Deref<Target = TocEntryRef>§
pub fn as_ptr(&self) -> *const GstTocEntry
pub fn as_mut_ptr(&self) -> *mut GstTocEntry
pub fn copy(&self) -> TocEntry
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn entry_type(&self) -> TocEntryType
pub fn uid(&self) -> &str
pub fn sub_entries(&self) -> Vec<TocEntry> ⓘ
pub fn parent(&self) -> Option<TocEntry>
pub fn start_stop_times(&self) -> Option<(i64, i64)>
pub fn is_alternative(&self) -> bool
pub fn is_sequence(&self) -> bool
pub fn loop_(&self) -> Option<(TocLoopType, i32)>
Trait Implementations§
source§impl AsRef<TocEntryRef> for TocEntry
impl AsRef<TocEntryRef> for TocEntry
source§fn as_ref(&self) -> &TocEntryRef
fn as_ref(&self) -> &TocEntryRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<TocEntryRef> for TocEntry
impl Borrow<TocEntryRef> for TocEntry
source§fn borrow(&self) -> &TocEntryRef
fn borrow(&self) -> &TocEntryRef
Immutably borrows from an owned value. Read more
source§impl<'de> Deserialize<'de> for TocEntry
impl<'de> Deserialize<'de> for TocEntry
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl FromGlibContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry
impl FromGlibContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstTocEntry,
num: usize
) -> Vec<Self> ⓘ
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstTocEntry,
_: usize
) -> Vec<Self> ⓘ
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstTocEntry,
_: usize
) -> Vec<Self> ⓘ
source§impl FromGlibContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry
impl FromGlibContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry
unsafe fn from_glib_none_num_as_vec(
ptr: *mut *mut GstTocEntry,
num: usize
) -> Vec<Self> ⓘ
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstTocEntry,
num: usize
) -> Vec<Self> ⓘ
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstTocEntry,
num: usize
) -> Vec<Self> ⓘ
source§impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry
impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *const *mut GstTocEntry> for TocEntry
unsafe fn from_glib_none_as_vec(ptr: *const *mut GstTocEntry) -> Vec<Self> ⓘ
unsafe fn from_glib_container_as_vec(_: *const *mut GstTocEntry) -> Vec<Self> ⓘ
unsafe fn from_glib_full_as_vec(_: *const *mut GstTocEntry) -> Vec<Self> ⓘ
source§impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry
impl FromGlibPtrArrayContainerAsVec<*mut GstTocEntry, *mut *mut GstTocEntry> for TocEntry
unsafe fn from_glib_none_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self> ⓘ
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self> ⓘ
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self> ⓘ
source§impl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry
impl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry
source§unsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry
impl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry
source§unsafe fn from_glib_borrow(ptr: *mut GstTocEntry) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstTocEntry) -> Borrowed<Self>
Safety Read more
source§impl FromGlibPtrFull<*const GstTocEntry> for TocEntry
impl FromGlibPtrFull<*const GstTocEntry> for TocEntry
source§unsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
unsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstTocEntry> for TocEntry
impl FromGlibPtrFull<*mut GstTocEntry> for TocEntry
source§unsafe fn from_glib_full(ptr: *mut GstTocEntry) -> Self
unsafe fn from_glib_full(ptr: *mut GstTocEntry) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstTocEntry> for TocEntry
impl FromGlibPtrNone<*const GstTocEntry> for TocEntry
source§unsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
unsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstTocEntry> for TocEntry
impl FromGlibPtrNone<*mut GstTocEntry> for TocEntry
source§unsafe fn from_glib_none(ptr: *mut GstTocEntry) -> Self
unsafe fn from_glib_none(ptr: *mut GstTocEntry) -> Self
Safety Read more
source§impl<'a> FromValue<'a> for &'a TocEntry
impl<'a> FromValue<'a> for &'a TocEntry
§type Checker = GenericValueTypeOrNoneChecker<&'a TocEntry>
type Checker = GenericValueTypeOrNoneChecker<&'a TocEntry>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl<'a> FromValue<'a> for TocEntry
impl<'a> FromValue<'a> for TocEntry
§type Checker = GenericValueTypeOrNoneChecker<TocEntry>
type Checker = GenericValueTypeOrNoneChecker<TocEntry>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for TocEntry
impl GlibPtrDefault for TocEntry
type GlibType = *mut GstTocEntry
source§impl IntoGlibPtr<*mut GstTocEntry> for TocEntry
impl IntoGlibPtr<*mut GstTocEntry> for TocEntry
source§unsafe fn into_glib_ptr(self) -> *mut GstTocEntry
unsafe fn into_glib_ptr(self) -> *mut GstTocEntry
Transfer: full.
source§impl IsMiniObject for TocEntry
impl IsMiniObject for TocEntry
type RefType = TocEntryRef
type FfiType = GstTocEntry
source§impl StaticType for TocEntry
impl StaticType for TocEntry
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTocEntry> for TocEntry
impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstTocEntry> for TocEntry
type Storage = (Vec<Stash<'a, *mut GstTocEntry, TocEntry>, Global>, Option<Vec<*mut GstTocEntry, Global>>)
fn to_glib_none_from_slice(
t: &'a [TocEntry]
) -> (*const *mut GstTocEntry, Self::Storage)
fn to_glib_container_from_slice(
_: &'a [TocEntry]
) -> (*const *mut GstTocEntry, Self::Storage)
fn to_glib_full_from_slice(_: &[TocEntry]) -> *const *mut GstTocEntry
source§impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTocEntry> for TocEntry
impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstTocEntry> for TocEntry
type Storage = (Vec<Stash<'a, *mut GstTocEntry, TocEntry>, Global>, Option<Vec<*mut GstTocEntry, Global>>)
fn to_glib_none_from_slice(
t: &'a [TocEntry]
) -> (*mut *mut GstTocEntry, Self::Storage)
fn to_glib_container_from_slice(
t: &'a [TocEntry]
) -> (*mut *mut GstTocEntry, Self::Storage)
fn to_glib_full_from_slice(t: &[TocEntry]) -> *mut *mut GstTocEntry
source§impl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry
impl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry
type Storage = &'a TocEntry
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstTocEntry, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstTocEntry, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstTocEntry
fn to_glib_full(&self) -> *const GstTocEntry
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry
impl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry
type Storage = &'a TocEntry
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstTocEntry, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstTocEntry, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstTocEntry
fn to_glib_full(&self) -> *mut GstTocEntry
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry
impl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry
type Storage = &'a mut TocEntry
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstTocEntry, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstTocEntry, Self>
Transfer: none. Read more
source§impl ToValueOptional for TocEntry
impl ToValueOptional for TocEntry
impl Send for TocEntry
impl Sync for TocEntry
impl ValueTypeOptional for TocEntry
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.