[][src]Enum gstreamer::TocScope

#[non_exhaustive]pub enum TocScope {
    Global,
    Current,
    // some variants omitted
}

The scope of a TOC.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Global

global TOC representing all selectable options (this is what applications are usually interested in)

Current

TOC for the currently active/selected stream (this is a TOC representing the current stream from start to EOS, and is what a TOC writer / muxer is usually interested in; it will usually be a subset of the global TOC, e.g. just the chapters of the current title, or the chapters selected for playback from the current title)

Trait Implementations

impl Clone for TocScope[src]

impl Copy for TocScope[src]

impl Debug for TocScope[src]

impl<'de> Deserialize<'de> for TocScope[src]

impl Eq for TocScope[src]

impl<'a> FromValue<'a> for TocScope[src]

impl<'a> FromValueOptional<'a> for TocScope[src]

impl Hash for TocScope[src]

impl Ord for TocScope[src]

impl PartialEq<TocScope> for TocScope[src]

impl PartialOrd<TocScope> for TocScope[src]

impl Serialize for TocScope[src]

impl SetValue for TocScope[src]

impl StaticType for TocScope[src]

impl StructuralEq for TocScope[src]

impl StructuralPartialEq for TocScope[src]

Auto Trait Implementations

impl RefUnwindSafe for TocScope

impl Send for TocScope

impl Sync for TocScope

impl Unpin for TocScope

impl UnwindSafe for TocScope

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

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.

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.