pub struct TocEntry { /* private fields */ }
Implementations§
source§impl TocEntry
impl TocEntry
pub unsafe fn from_glib_ptr_borrow(ptr: &*mut GstTocEntry) -> &Self
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 HasParamSpec for TocEntry
impl HasParamSpec for TocEntry
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 = (PhantomData<&'a [TocEntry]>, Option<Vec<*mut GstTocEntry>>)
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 = (PhantomData<&'a [TocEntry]>, Option<Vec<*mut GstTocEntry>>)
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 = PhantomData<&'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 = PhantomData<&'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 = PhantomData<&'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 TransparentPtrType for TocEntry
impl ValueTypeOptional for TocEntry
Auto Trait Implementations§
impl Freeze for TocEntry
impl RefUnwindSafe for TocEntry
impl Unpin for TocEntry
impl UnwindSafe for TocEntry
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *const GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *const GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(_: *const GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(_: *const GSList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GList) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GPtrArray> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GPtrArray) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GPtrArray) -> Vec<T>
source§impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
impl<T> FromGlibPtrArrayContainerAsVec<<T as GlibPtrDefault>::GlibType, *mut GSList> for Twhere
T: GlibPtrDefault + FromGlibPtrNone<<T as GlibPtrDefault>::GlibType> + FromGlibPtrFull<<T as GlibPtrDefault>::GlibType>,
unsafe fn from_glib_none_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_container_as_vec(ptr: *mut GSList) -> Vec<T>
unsafe fn from_glib_full_as_vec(ptr: *mut GSList) -> Vec<T>
source§impl<T> IntoClosureReturnValue for T
impl<T> IntoClosureReturnValue for T
fn into_closure_return_value(self) -> Option<Value>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> PropertyGet for Twhere
T: HasParamSpec,
impl<T> PropertyGet for Twhere
T: HasParamSpec,
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> ToSendValue for T
impl<T> ToSendValue for T
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.