Struct gstreamer::TocSetter [−]
pub struct TocSetter(_, _);
Element interface that allows setting of the TOC.
Elements that support some kind of chapters or editions (or tracks like in the FLAC cue sheet) will implement this interface.
If you just want to retrieve the TOC in your application then all you
need to do is watch for TOC messages on your pipeline's bus (or you can
perform TOC query). This interface is only for setting TOC data, not for
extracting it. To set TOC from the application, find proper tocsetter element
and set TOC using TocSetter::set_toc
.
Elements implementing the TocSetter
interface can extend existing TOC
by getting extend UID for that (you can use Toc::find_entry
to retrieve it)
with any TOC entries received from downstream.
Implements
TocSetterExt
, ElementExt
, GstObjectExt
, glib::object::ObjectExt
Trait Implementations
impl Clone for TocSetter
impl Clone for TocSetter
fn clone(&self) -> TocSetter
fn clone(&self) -> TocSetter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Hash for TocSetter
impl Hash for TocSetter
fn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Ord for TocSetter
impl Ord for TocSetter
fn cmp(&self, other: &TocSetter) -> Ordering
fn cmp(&self, other: &TocSetter) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl StaticType for TocSetter
impl StaticType for TocSetter
fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for TocSetter
impl<T: IsA<Object>> PartialEq<T> for TocSetter
fn eq(&self, other: &T) -> bool
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for TocSetter
impl Eq for TocSetter
impl<T: IsA<Object>> PartialOrd<T> for TocSetter
impl<T: IsA<Object>> PartialOrd<T> for TocSetter
fn partial_cmp(&self, other: &T) -> Option<Ordering>
fn partial_cmp(&self, other: &T) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for TocSetter
impl Debug for TocSetter
impl IsA<Element> for TocSetter
impl IsA<Element> for TocSetter
impl IsA<Object> for TocSetter
impl IsA<Object> for TocSetter
impl IsA<Object> for TocSetter
impl IsA<Object> for TocSetter
impl Send for TocSetter
[src]
impl Send for TocSetter
impl Sync for TocSetter
[src]
impl Sync for TocSetter