1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// This file was generated by gir (https://github.com/gtk-rs/gir)
// from gir-files (https://github.com/gtk-rs/gir-files)
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
// DO NOT EDIT

use crate::Clip;
use crate::Container;
use crate::Extractable;
use crate::MetaContainer;
use crate::OperationClip;
use crate::TimelineElement;

glib::wrapper! {
    /// [`BaseEffectClip`][crate::BaseEffectClip]-s are clips whose core elements are
    /// [`BaseEffect`][crate::BaseEffect]-s.
    ///
    /// ## Effects
    ///
    /// [`BaseEffectClip`][crate::BaseEffectClip]-s can have **additional** [`BaseEffect`][crate::BaseEffect]-s added as
    /// non-core elements. These additional effects are applied to the output
    /// of the core effects of the clip that they share a [`Track`][crate::Track] with. See
    /// [`Clip`][crate::Clip] for how to add and move these effects from the clip.
    ///
    /// Note that you cannot add time effects to [`BaseEffectClip`][crate::BaseEffectClip], neither
    /// as core children, nor as additional effects.
    ///
    /// This is an Abstract Base Class, you cannot instantiate it.
    ///
    /// # Implements
    ///
    /// [`OperationClipExt`][trait@crate::prelude::OperationClipExt], [`ClipExt`][trait@crate::prelude::ClipExt], [`GESContainerExt`][trait@crate::prelude::GESContainerExt], [`TimelineElementExt`][trait@crate::prelude::TimelineElementExt], [`trait@glib::ObjectExt`], [`ExtractableExt`][trait@crate::prelude::ExtractableExt], [`MetaContainerExt`][trait@crate::prelude::MetaContainerExt], [`TimelineElementExtManual`][trait@crate::prelude::TimelineElementExtManual]
    #[doc(alias = "GESBaseEffectClip")]
    pub struct BaseEffectClip(Object<ffi::GESBaseEffectClip, ffi::GESBaseEffectClipClass>) @extends OperationClip, Clip, Container, TimelineElement, @implements Extractable, MetaContainer;

    match fn {
        type_ => || ffi::ges_base_effect_clip_get_type(),
    }
}

impl BaseEffectClip {
    pub const NONE: Option<&'static BaseEffectClip> = None;
}