Struct gstreamer::toc::TocEntryRef[][src]

#[repr(transparent)]
pub struct TocEntryRef(_);

Implementations

impl TocEntryRef[src]

pub unsafe fn as_ptr(&self) -> *const GstTocEntry[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstTocEntry[src]

pub unsafe fn from_ptr<'a>(ptr: *const GstTocEntry) -> &'a Self[src]

pub unsafe fn from_mut_ptr<'a>(ptr: *mut GstTocEntry) -> &'a mut Self[src]

pub fn copy(&self) -> TocEntry[src]

impl TocEntryRef[src]

pub fn entry_type(&self) -> TocEntryType[src]

pub fn uid(&self) -> &str[src]

pub fn append_sub_entry(&mut self, subentry: TocEntry)[src]

pub fn sub_entries(&self) -> Vec<TocEntry>[src]

pub fn parent(&self) -> Option<TocEntry>[src]

pub fn start_stop_times(&self) -> Option<(i64, i64)>[src]

pub fn set_start_stop_times(&mut self, start: i64, stop: i64)[src]

pub fn tags(&self) -> Option<TagList>[src]

pub fn set_tags(&mut self, tag_list: TagList)[src]

pub fn merge_tags(&mut self, tag_list: &TagList, mode: TagMergeMode)[src]

pub fn is_alternative(&self) -> bool[src]

pub fn is_sequence(&self) -> bool[src]

pub fn loop_(&self) -> Option<(TocLoopType, i32)>[src]

pub fn set_loop(&mut self, loop_type: TocLoopType, repeat_count: i32)[src]

Trait Implementations

impl AsRef<TocEntryRef> for TocEntry[src]

fn as_ref(&self) -> &TocEntryRef[src]

Performs the conversion.

impl Borrow<TocEntryRef> for TocEntry[src]

fn borrow(&self) -> &TocEntryRef[src]

Immutably borrows from an owned value. Read more

impl Debug for TocEntryRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> FromValue<'a> for &'a TocEntryRef[src]

type Checker = GenericValueTypeOrNoneChecker<Self>

Value type checker.

unsafe fn from_value(value: &'a Value) -> Self[src]

Get the contained value from a Value. Read more

impl GlibPtrDefault for TocEntryRef[src]

type GlibType = *mut GstTocEntry

impl Serialize for TocEntryRef[src]

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>[src]

Serialize this value into the given Serde serializer. Read more

impl StaticType for TocEntryRef[src]

fn static_type() -> Type[src]

Returns the type identifier of Self.

impl ToOwned for TocEntryRef[src]

type Owned = TocEntry

The resulting type after obtaining ownership.

fn to_owned(&self) -> TocEntry[src]

Creates owned data from borrowed data, usually by cloning. Read more

fn clone_into(&self, target: &mut Self::Owned)[src]

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

impl Send for TocEntryRef[src]

impl Sync for TocEntryRef[src]

Auto Trait Implementations

impl RefUnwindSafe for TocEntryRef

impl Unpin for TocEntryRef

impl UnwindSafe for TocEntryRef

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.