Struct gstreamer::toc::TocEntryRef
source · [−]#[repr(transparent)]pub struct TocEntryRef(_);
Implementations
sourceimpl TocEntryRef
impl TocEntryRef
pub unsafe fn as_ptr(&self) -> *const GstTocEntry
pub unsafe 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
sourceimpl 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>ⓘ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 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
sourceimpl AsRef<TocEntryRef> for TocEntry
impl AsRef<TocEntryRef> for TocEntry
sourcefn as_ref(&self) -> &TocEntryRef
fn as_ref(&self) -> &TocEntryRef
Performs the conversion.
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 Debug for TocEntryRef
impl Debug for TocEntryRef
sourceimpl<'a> FromValue<'a> for &'a TocEntryRef
impl<'a> FromValue<'a> for &'a TocEntryRef
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
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 TocEntryRef
impl GlibPtrDefault for TocEntryRef
type GlibType = *mut GstTocEntry
sourceimpl Serialize for TocEntryRef
impl Serialize for TocEntryRef
sourceimpl StaticType for TocEntryRef
impl StaticType for TocEntryRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl ToOwned for TocEntryRef
impl ToOwned for TocEntryRef
impl Send for TocEntryRef
impl Sync for TocEntryRef
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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,
sourcepub fn ensure_type()
pub fn ensure_type()
Ensures that the type has been registered with the type system.