Struct gstreamer::toc::TocEntryRef
source · #[repr(transparent)]pub struct TocEntryRef(GstTocEntry);
Tuple Fields§
§0: GstTocEntry
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
source§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 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§
impl Freeze for TocEntryRef
impl RefUnwindSafe for TocEntryRef
impl !Unpin for TocEntryRef
impl UnwindSafe for TocEntryRef
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> 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> 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.