Struct gstreamer::toc::TocEntryRef
source · pub struct TocEntryRef(_);
Implementations
sourceimpl TocEntryRef
impl TocEntryRef
pub fn get_entry_type(&self) -> TocEntryType
pub fn get_uid(&self) -> &str
pub fn append_sub_entry(&mut self, subentry: TocEntry)
pub fn get_sub_entries(&self) -> Vec<TocEntry>
pub fn get_parent(&self) -> Option<TocEntry>
pub fn get_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 get_loop(&self) -> Option<(TocLoopType, i32)>
pub fn set_loop(&mut self, loop_type: TocLoopType, repeat_count: i32)
Trait Implementations
sourceimpl Debug for TocEntryRef
impl Debug for TocEntryRef
sourceimpl MiniObject for TocEntryRef
impl MiniObject for TocEntryRef
type GstType = GstTocEntry
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
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
type Owned = GstRc<TocEntryRef>
type Owned = GstRc<TocEntryRef>
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> GstRc<TocEntryRef>
fn to_owned(&self) -> GstRc<TocEntryRef>
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for TocEntryRef
impl Sync for TocEntryRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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