#[repr(transparent)]pub struct TocEntry { /* private fields */ }
Implementations
sourceimpl 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
pub unsafe fn into_ptr(self) -> *mut GstTocEntry
Methods from Deref<Target = TocEntryRef>
pub unsafe fn as_ptr(&self) -> *const GstTocEntry
pub unsafe 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>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
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
sourceimpl AsRef<TocEntryRef> for TocEntry
impl AsRef<TocEntryRef> for TocEntry
sourcefn as_ref(&self) -> &TocEntryRef
fn as_ref(&self) -> &TocEntryRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Borrow<TocEntryRef> for TocEntry
impl Borrow<TocEntryRef> for TocEntry
sourcefn borrow(&self) -> &TocEntryRef
fn borrow(&self) -> &TocEntryRef
Immutably borrows from an owned value. Read more
sourceimpl Deref for TocEntry
impl Deref for TocEntry
type Target = TocEntryRef
type Target = TocEntryRef
The resulting type after dereferencing.
sourceimpl<'de> Deserialize<'de> for TocEntry
impl<'de> Deserialize<'de> for TocEntry
sourcefn 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
sourceimpl 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>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstTocEntry,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
_: *const *mut GstTocEntry,
_: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl 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>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstTocEntry,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_num_as_vec(
ptr: *mut *mut GstTocEntry,
num: usize
) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl 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>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(_: *const *mut GstTocEntry) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(_: *const *mut GstTocEntry) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl 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>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_container_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
unsafe fn from_glib_full_as_vec(ptr: *mut *mut GstTocEntry) -> Vec<Self>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
sourceimpl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry
impl FromGlibPtrBorrow<*const GstTocEntry> for TocEntry
sourceunsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *const GstTocEntry) -> Borrowed<Self>
Safety Read more
sourceimpl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry
impl FromGlibPtrBorrow<*mut GstTocEntry> for TocEntry
sourceunsafe fn from_glib_borrow(ptr: *mut GstTocEntry) -> Borrowed<Self>
unsafe fn from_glib_borrow(ptr: *mut GstTocEntry) -> Borrowed<Self>
Safety Read more
sourceimpl FromGlibPtrFull<*const GstTocEntry> for TocEntry
impl FromGlibPtrFull<*const GstTocEntry> for TocEntry
sourceunsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
unsafe fn from_glib_full(ptr: *const GstTocEntry) -> Self
Safety Read more
sourceimpl FromGlibPtrFull<*mut GstTocEntry> for TocEntry
impl FromGlibPtrFull<*mut GstTocEntry> for TocEntry
sourceunsafe fn from_glib_full(ptr: *mut GstTocEntry) -> Self
unsafe fn from_glib_full(ptr: *mut GstTocEntry) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*const GstTocEntry> for TocEntry
impl FromGlibPtrNone<*const GstTocEntry> for TocEntry
sourceunsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
unsafe fn from_glib_none(ptr: *const GstTocEntry) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*mut GstTocEntry> for TocEntry
impl FromGlibPtrNone<*mut GstTocEntry> for TocEntry
sourceunsafe fn from_glib_none(ptr: *mut GstTocEntry) -> Self
unsafe fn from_glib_none(ptr: *mut GstTocEntry) -> Self
Safety Read more
sourceimpl<'a> FromValue<'a> for TocEntry
impl<'a> FromValue<'a> for TocEntry
type Checker = GenericValueTypeOrNoneChecker<TocEntry>
type Checker = GenericValueTypeOrNoneChecker<TocEntry>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl<'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.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl GlibPtrDefault for TocEntry
impl GlibPtrDefault for TocEntry
type GlibType = *mut GstTocEntry
sourceimpl IsMiniObject for TocEntry
impl IsMiniObject for TocEntry
type RefType = TocEntryRef
type FfiType = GstTocEntry
sourceimpl StaticType for TocEntry
impl StaticType for TocEntry
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl<'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
sourceimpl<'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
sourceimpl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry
impl<'a> ToGlibPtr<'a, *const GstTocEntry> for TocEntry
type Storage = &'a TocEntry
sourcefn 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
sourcefn to_glib_full(&self) -> *const GstTocEntry
fn to_glib_full(&self) -> *const GstTocEntry
Transfer: full. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourceimpl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry
impl<'a> ToGlibPtr<'a, *mut GstTocEntry> for TocEntry
type Storage = &'a TocEntry
sourcefn 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
sourcefn to_glib_full(&self) -> *mut GstTocEntry
fn to_glib_full(&self) -> *mut GstTocEntry
Transfer: full. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourceimpl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry
impl<'a> ToGlibPtrMut<'a, *mut GstTocEntry> for TocEntry
type Storage = &'a mut TocEntry
sourcefn 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
sourceimpl ToValueOptional for TocEntry
impl ToValueOptional for TocEntry
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option
to a Value
.
impl Send for TocEntry
impl Sync for TocEntry
impl ValueTypeOptional for TocEntry
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.