gstreamer_editing_services/auto/
source.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6use crate::{ffi, Extractable, MetaContainer, TimelineElement, TrackElement};
7
8glib::wrapper! {
9    /// Base class for single-media sources
10    ///
11    /// # Implements
12    ///
13    /// [`TrackElementExt`][trait@crate::prelude::TrackElementExt], [`TimelineElementExt`][trait@crate::prelude::TimelineElementExt], [`trait@glib::ObjectExt`], [`ExtractableExt`][trait@crate::prelude::ExtractableExt], [`MetaContainerExt`][trait@crate::prelude::MetaContainerExt], [`TimelineElementExtManual`][trait@crate::prelude::TimelineElementExtManual]
14    #[doc(alias = "GESSource")]
15    pub struct Source(Object<ffi::GESSource, ffi::GESSourceClass>) @extends TrackElement, TimelineElement, @implements Extractable, MetaContainer;
16
17    match fn {
18        type_ => || ffi::ges_source_get_type(),
19    }
20}
21
22impl Source {
23    pub const NONE: Option<&'static Source> = None;
24}