Struct gstreamer::toc::TocEntryRef
source · #[repr(transparent)]pub struct TocEntryRef(_);
Implementations§
source§impl TocEntryRef
impl TocEntryRef
pub fn as_ptr(&self) -> *const GstTocEntry
pub fn as_mut_ptr(&self) -> *mut GstTocEntry
pub unsafe fn from_ptr<'a>(ptr: *const GstTocEntry) -> &'a Self
pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstTocEntry) -> &'a mut Self
pub fn copy(&self) -> TocEntry
pub fn upcast_ref(&self) -> &MiniObjectRef
pub fn upcast_mut(&mut self) -> &mut MiniObjectRef
pub fn ptr_eq(this: &TocEntryRef, other: &TocEntryRef) -> bool
source§impl TocEntryRef
impl TocEntryRef
pub fn entry_type(&self) -> TocEntryType
pub fn uid(&self) -> &str
pub fn append_sub_entry(&mut self, subentry: TocEntry)
pub fn sub_entries(&self) -> Vec<TocEntry> ⓘ
pub fn parent(&self) -> Option<TocEntry>
pub fn start_stop_times(&self) -> Option<(i64, i64)>
pub fn set_start_stop_times(&mut self, start: i64, stop: i64)
pub fn is_alternative(&self) -> bool
pub fn is_sequence(&self) -> bool
pub fn loop_(&self) -> Option<(TocLoopType, i32)>
pub fn set_loop(&mut self, loop_type: TocLoopType, repeat_count: 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 Debug for TocEntryRef
impl Debug for TocEntryRef
source§impl<'a> FromValue<'a> for &'a TocEntryRef
impl<'a> FromValue<'a> for &'a TocEntryRef
§type Checker = GenericValueTypeOrNoneChecker<&'a TocEntryRef>
type Checker = GenericValueTypeOrNoneChecker<&'a TocEntryRef>
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 TocEntryRef
impl GlibPtrDefault for TocEntryRef
type GlibType = *mut GstTocEntry
source§impl Serialize for TocEntryRef
impl Serialize for TocEntryRef
source§impl StaticType for TocEntryRef
impl StaticType for TocEntryRef
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl ToOwned for TocEntryRef
impl ToOwned for TocEntryRef
impl Send for TocEntryRef
impl Sync for TocEntryRef
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.